diff options
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr55955.c')
-rw-r--r-- | gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr55955.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr55955.c b/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr55955.c new file mode 100644 index 000000000..cd96d56e8 --- /dev/null +++ b/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr55955.c @@ -0,0 +1,13 @@ +/* { dg-require-effective-target int32plus } */ +/* PR tree-optimization/55955 */ + +int b; + +void +foo (int x) +{ + int a; + for (a = x; a < 2; a++) + for (b = 0; b < 2; b++) + *(unsigned short *) 0x100000UL %= 46; +} |