diff options
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr53058.c')
-rw-r--r-- | gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr53058.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr53058.c b/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr53058.c new file mode 100644 index 000000000..90063c508 --- /dev/null +++ b/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr53058.c @@ -0,0 +1,12 @@ +/* PR tree-optimization/53058 */ + +int a, b, c; + +void +foo () +{ + c = b >> 16; + if (c > 32767) + c = 0; + a = b; +} |