1 /* This test is a reduced test case for a bug that caused
2 bootstrapping with -fmodulo-sched. Related to a broken anti-dep
3 that was not fixed by reg-moves. */
6 /* { dg-options "-O2 -fmodulo-sched -fmodulo-sched-allow-regmoves -fdump-rtl-sms --param sms-min-sc=1" } */
7 /* { dg-options "-O2 -fmodulo-sched -fmodulo-sched-allow-regmoves -fdump-rtl-sms" { target powerpc*-*-* } } */
9 extern void abort (void);
11 __attribute__ ((noinline
))
13 foo (long long ixi
, unsigned ctr
)
15 unsigned long long irslt
= 1;
24 if (irslt
!= 14348907)
33 unsigned long long res
;
39 /* { dg-final { scan-rtl-dump-times "SMS succeeded" 0 "sms" { target powerpc*-*-* } } } */
40 /* { dg-final { cleanup-rtl-dump "sms" } } */