Commit 10ae7517 by Ahmad Sharif Committed by Ahmad Sharif

Added testcase that fails when stack alignment is incorrectly capped.

From-SVN: r167709
parent d8f9a0d3
2010-12-10 Ahmad Sharif <asharif@google.com>
* gcc.target/i386/max-stack-align.c: New testcase.
2010-12-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* gcc.dg/funcorder.c: Remove XFAIL for hppa*64*-*-*.
......
/* { dg-do compile } */
/* { dg-options "-fomit-frame-pointer" } */
void foo()
{
int a, b, c, e, f, g, h, i;
__asm__ volatile( " jb 1b \n\t"
: : "c" (a), "d" (a), "S" (a), "D" (a),
"r" (a), "a" (a) ,"r" (a), "r" (a)
: "%""rbp" );
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment