PR tree-optimization/81303
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ssa-ifcombine-ccmp-6.c
blobc161b16a247d6a290de7dd9657a2bdb9e5e16de6
1 /* { dg-do compile { target { ! { { logical_op_short_circuit && { ! avr-*-* } } || { m68k*-*-* mmix*-*-* bfin*-*-* v850*-*-* moxie*-*-* cris*-*-* m32c*-*-* fr30*-*-* mcore*-*-* powerpc*-*-* xtensa*-*-* arc*-*-* mips*-*-* } } } } } */
3 /* { dg-options "-O2 -g -fdump-tree-optimized" } */
4 /* { dg-additional-options "-mbranch-cost=2" { target mips*-*-* avr-*-* s390*-*-* i?86-*-* x86_64-*-* } } */
6 int t (int a, int b, int c)
8 if (a > 0 || b > 0 || c > 0)
9 return 0;
10 return 1;
12 /* { dg-final { scan-tree-dump-times "\\|" 2 "optimized" } } */