* gcc.dg/torture/stackalign/builtin-apply-2.c: Fix skip-if syntax.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr27671-2.c
blob11dae10b187d58c13623e8e680e86d16ac0adc05
1 /* PR rtl-optimization/27671.
2 The combiner used to simplify "a ^ b == a" to "a" via
3 simplify_relational_operation_1 in simplify-rtx.c. */
4 /* { dg-do run } */
5 /* { dg-options "-O1" } */
6 /* { dg-options "-O1 -march=pentium4" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
8 extern void abort (void) __attribute__ ((noreturn));
9 extern void exit (int) __attribute__ ((noreturn));
11 static void __attribute__ ((noinline))
12 bar (int k)
14 int n = k % 2;
15 if (n == 0)
16 abort ();
19 int
20 main (void)
22 bar (1);
23 exit (0);