diff options
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr53409.c')
-rw-r--r-- | gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr53409.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr53409.c b/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr53409.c new file mode 100644 index 000000000..1bf478ee5 --- /dev/null +++ b/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr53409.c @@ -0,0 +1,19 @@ +/* PR tree-optimization/53409 */ + +int a, c, d, e, f; +int b[0]; + +int +main () +{ + if (f) + e = 0; + int g = d; + for (c = 0; c <= 1; c++) + { + for (a = 0; a <= 1; a = (char) a + 1) + b[c] = g; + a = 0; + } + return 0; +} |