Add a testcase for PR target/66824

PR target/66824
	* gcc.target/i386/pr66824.c:

From-SVN: r225929
This commit is contained in:
H.J. Lu 2015-07-17 11:52:09 +00:00 committed by H.J. Lu
parent 255388b812
commit c92f5b137e
2 changed files with 34 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2015-07-17 H.J. Lu <hongjiu.lu@intel.com>
PR target/66824
* gcc.target/i386/pr66824.c:
2015-07-17 Andre Vehreschild <vehre@gcc.gnu.org>
PR fortran/66035

View File

@ -0,0 +1,29 @@
/* { dg-do compile { target ia32 } } */
/* { dg-options "-O2 -mno-sse -mno-mmx -mno-80387" } */
/* { dg-final { scan-assembler-not "\.LC\[0-9\]" } } */
double foo (float);
double
f1 (void)
{
return foo (1.0);
}
double
f2 (void)
{
return foo (0.0);
}
void
f3 (float *x, float t)
{
*x = 0.0 + t;
}
float
f4 (void)
{
return 1.0;
}