[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / gcc.dg / pr50764.c
blobe0cd320db03ad69a52d7f4005312fed1aa125501
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fsched2-use-superblocks -ftree-tail-merge" } */
3 /* { dg-require-effective-target alloca } */
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 ();