commit | d26d6943656d7b497e5e7d6b6bfbd6dbcd647d69 | [log] [tgz] |
---|---|---|
author | Nuno Lopes <nuno.lopes@tecnico.ulisboa.pt> | Thu Jan 20 12:39:23 2022 +0000 |
committer | GitHub <noreply@github.com> | Thu Jan 20 12:39:23 2022 +0000 |
tree | 2f546c45006fbce12b8aeb18de90d25be3ff083b | |
parent | 195afe069d3e2ba1a1bd352d6f44ddf318201371 [diff] |
fix UB (read uninitialized memory) in test
diff --git a/SingleSource/Regression/C/gcc-c-torture/execute/pr79286.c b/SingleSource/Regression/C/gcc-c-torture/execute/pr79286.c index e6d0e93..028b420 100644 --- a/SingleSource/Regression/C/gcc-c-torture/execute/pr79286.c +++ b/SingleSource/Regression/C/gcc-c-torture/execute/pr79286.c
@@ -3,7 +3,7 @@ int main () { - int e; + int e = 0; for (int b = 0; b < 4; b++) { __builtin_printf ("%d\n", b, e);