gcc/testsuite/gcc.target/arm/pr60657.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-require-effective-target arm_arch_v7a_ok } */ |
| 3 | /* { dg-skip-if "-mpure-code supports M-profile only" { *-*-* } { "-mpure-code" } } */ |
| 4 | /* { dg-options "-O2" } */ |
| 5 | /* { dg-add-options arm_arch_v7a } */ |
| 6 | |
| 7 | |
| 8 | void foo (void); |
| 9 | |
| 10 | void |
| 11 | bar (int x, int y) |
| 12 | { |
| 13 | y = 9999; |
| 14 | if (x & (1 << y)) |
| 15 | foo (); |
| 16 | } |