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" } */
8 extern void abort (void);
10 __attribute__ ((noinline))
12 foo (long long ixi, unsigned ctr)
14 unsigned long long irslt = 1;
23 if (irslt != 14348907)
32 unsigned long long res;
38 /* { dg-final { scan-rtl-dump-times "SMS succeeded" 1 "sms" { target powerpc*-*-* } } } */
39 /* { dg-final { cleanup-rtl-dump "sms" } } */