Commit 67fd2789 by H.J. Lu Committed by H.J. Lu

Add a testcase for PR bootstrap/66978

	PR bootstrap/66978
	* gcc.target/i386/pr66978.c: New test.

From-SVN: r226150
parent b8fedf99
2015-07-24 H.J. Lu <hongjiu.lu@intel.com>
PR bootstrap/66978
* gcc.target/i386/pr66978.c: New test.
2015-07-24 Andreas Krebbel <krebbel@linux.vnet.ibm.com> 2015-07-24 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
* gcc.target/s390/gpr2fprsavecfi.c: New test. * gcc.target/s390/gpr2fprsavecfi.c: New test.
......
/* { dg-do compile { target { ! { ia32 } } } } */
/* { dg-require-effective-target maybe_x32 } */
/* { dg-options "-O2 -mx32 -maddress-mode=short" } */
extern int foo (int *);
int
bar (int *p)
{
__attribute__ ((noinline, noclone))
int hack_digit (void)
{
return foo (p);
}
return hack_digit ();
}
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