diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 0654c43d181..8671f3e7ba6 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2010-12-17 Ahmad Sharif + + * gcc.target/i386/max-stack-align.c: New testcase. + 2010-12-17 Nicola Pero * objc.dg/exceptions-4.m: Adjust for change in error message. diff --git a/gcc/testsuite/gcc.target/i386/max-stack-align.c b/gcc/testsuite/gcc.target/i386/max-stack-align.c new file mode 100644 index 00000000000..fa8050813f7 --- /dev/null +++ b/gcc/testsuite/gcc.target/i386/max-stack-align.c @@ -0,0 +1,14 @@ +/* { dg-do compile } */ +/* { dg-options "-fomit-frame-pointer" } */ +/* { dg-require-effective-target lp64 } */ + +void foo() +{ + int a=0, b=0, c=0, e=0, f=0, g=0, h=0, i=0; + __asm__ __volatile__ ("" + : + : + : "bp" + ); +} +