2006-12-15 H.J. Lu <hongjiu.lu@intel.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / 20060512-4.c
blob353b6ddfb404a63e78f7200b37b0fb7135b3c69e
1 /* { dg-do compile { target i?86-*-* } } */
2 /* { dg-require-effective-target ilp32 } */
3 /* { dg-options "-mstackrealign" } */
4 int
5 outer_function (int x, int y)
7 int __attribute__ ((__noinline__))
8 nested_function (int x, int y)
9 { /* { dg-error "-mstackrealign ignored for nested functions" } */
10 return (x + y);
12 return (3 + nested_function (x, y));