Skip to content
Snippets Groups Projects
Commit bd0ffa87 authored by Uros Bizjak's avatar Uros Bizjak Committed by Ian Lance Taylor
Browse files

re PR target/24055 ("could not split insn" with -O1 -ffast-math)

	PR target/24055
	* gcc.target/i386/pr24055.c: New test.

From-SVN: r104648
parent 4d06b0a2
No related branches found
No related tags found
No related merge requests found
2005-09-26 Uros Bizjak <uros@kss-loka.si>
PR target/24055
* gcc.target/i386/pr24055.c: New test.
2005-09-25 Kazu Hirata <kazu@codesourcery.com> 2005-09-25 Kazu Hirata <kazu@codesourcery.com>
   
PR tree-optimization/23960 PR tree-optimization/23960
/* PR target/24055 */
/* Testcase reduced by Serge Belyshev */
/* { dg-do compile } */
/* { dg-options "-O2 -ffast-math" } */
extern double rint(double);
void foo_1 (int *p, double x)
{
*p = rint (x);
}
void foo_2 (long long *p, double x)
{
*p = rint (x);
}
int foo_3 (double x)
{
return rint (x);
}
long long foo_4 (double x)
{
return rint (x);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment