1 /* { dg-do run { target { ! "m68k*-*-* mmix*-*-* mep*-*-* bfin*-*-* v850*-*-* picochip*-*-* moxie*-*-* cris*-*-* m32c*-*-* fr30*-*-* mcore*-*-* powerpc*-*-* xtensa*-*-* hppa*-*-*"} } } */
3 /* { dg-options "-O2 -fno-inline -fdump-tree-reassoc1-details" } */
4 /* { dg-additional-options "-mbranch-cost=2" { target mips*-*-* avr-*-* s390*-*-* i?86-*-* x86_64-*-* } } */
6 int test (int a
, int b
, int c
)
8 if (a
== 10 || a
== 12)
15 if (test (10, 20, 30) != 20)
17 if (test (12, 20, 30) != 20)
19 if (test (26, 20, 30) != 30)
23 /* { dg-final { scan-tree-dump-times "Optimizing range tests" 1 "reassoc1"} }*/
24 /* { dg-final { cleanup-tree-dump "reassoc1" } } */