Adjust scan string for PIE
[official-gcc.git] / gcc / testsuite / gcc.dg / superblock.c
blob272d161f058c731740838156ba6f970ea89519dd
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fno-asynchronous-unwind-tables -fsched2-use-superblocks -fdump-rtl-sched2 -fdump-rtl-bbro" } */
3 /* { dg-require-effective-target scheduling } */
5 typedef int aligned __attribute__ ((aligned (64)));
6 extern void abort (void);
8 int bar (void *p);
10 void
11 foo (void)
13 char *p = __builtin_alloca (13);
14 aligned i;
16 if (bar (p) || bar (&i))
17 abort ();
20 /* { dg-final { scan-rtl-dump-times "0 uses" 0 "bbro"} } */
21 /* { dg-final { scan-rtl-dump-times "ADVANCING TO" 2 "sched2"} } */
22 /* { dg-final { cleanup-rtl-dump "bbro" } } */
23 /* { dg-final { cleanup-rtl-dump "sched2" } } */