summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/stackalign/longlong-1.c
blob: 225d0c5e55855b9630706ca3078ca2efa379fee2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* PR target/39137 */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -mpreferred-stack-boundary=2" } */
/* Make sure dynamic stack realignment isn't performed just because there
   are long long variables.  */
/* { dg-final { scan-assembler-not "and\[lq\]?\[^\\n\]*-8,\[^\\n\]*sp" } } */

void fn (void *);

void f1 (void)
{
  unsigned long long a;
  fn (&a);
}