diff options
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr53187.c')
-rw-r--r-- | gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr53187.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr53187.c b/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr53187.c new file mode 100644 index 000000000..13455f422 --- /dev/null +++ b/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr53187.c @@ -0,0 +1,11 @@ +/* PR target/53187 */ + +void bar (int); + +void +foo (int x, double y, double z) +{ + _Bool t = z >= y; + if (!t || x) + bar (t ? 1 : 16); +} |