[Bug testsuite/46895] FAIL: gcc.target/i386/max-stack-align.c

ubizjak at gmail dot com gcc-bugzilla@gcc.gnu.org
Sun Dec 12 09:30:00 GMT 2010


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46895

--- Comment #2 from Uros Bizjak <ubizjak at gmail dot com> 2010-12-12 09:30:35 UTC ---
/* { dg-do compile } */
/* { dg-options "-fomit-frame-pointer" } */

#ifdef __x86_64__
# define BP_REG "%rbp"
#else
# define BP_REG "%ebp"
#endif

void foo (void)
{
  __asm__ volatile ( "" ::: BP_REG );
}



More information about the Gcc-bugs mailing list