aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr50764.c
blob: e0cd320db03ad69a52d7f4005312fed1aa125501 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* { dg-do compile } */
/* { dg-options "-O2 -fsched2-use-superblocks -ftree-tail-merge" } */
/* { dg-require-effective-target alloca } */

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 ();
}