Commit 01e3d28c by Tom de Vries Committed by Tom de Vries

superblock.c: New test.

2012-04-14  Tom de Vries  <tom@codesourcery.com>

	* gcc.dg/superblock.c: New test.

From-SVN: r186452
parent 03fbe718
2012-04-14 Tom de Vries <tom@codesourcery.com>
* gcc.dg/superblock.c: New test.
2012-04-14 Tom de Vries <tom@codesourcery.com>
* gcc.dg/pr51879-12.c: New test.
2012-04-13 Jason Merrill <jason@redhat.com>
......
/* { dg-do compile } */
/* { dg-options "-O2 -fno-asynchronous-unwind-tables -fsched2-use-superblocks -fdump-rtl-sched2 -fdump-rtl-bbro" } */
typedef int aligned __attribute__ ((aligned (64)));
extern void abort (void);
int bar (void *p);
void
foo (void)
{
char *p = __builtin_alloca (13);
aligned i;
if (bar (p) || bar (&i))
abort ();
}
/* { dg-final { scan-rtl-dump-times "0 uses" 0 "bbro"} } */
/* { dg-final { scan-rtl-dump-times "ADVANCING TO" 2 "sched2"} } */
/* { dg-final { cleanup-rtl-dump "bbro" } } */
/* { dg-final { cleanup-rtl-dump "sched2" } } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment