summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/20060512-4.c
blob: f2dd26486b62ff9d9ef61b3a6bb28b8c0dff685a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-mstackrealign" } */
int
outer_function (int x, int y)
{
  int __attribute__ ((__noinline__))
  nested_function (int x, int y)
    { /* { dg-warning "-mstackrealign ignored for nested functions" } */
      return (x + y);
    }
  return (3 + nested_function (x, y));
}