[Bug target/22585] [4.0/4.1 regression] ICE with long doubles in expand_simple_unop
------- Additional Comments From reichelt at gcc dot gnu dot org 2005-07-22 09:41 -------
Uros' patch for PR22576 indeed fixes the ICEs in redirect_branch
and extract_insn on the 4.0 branch and mainline.
But I can now confirm the bug in expand_simple_unop, I just had to
add -march=i486 to the command line. So here's a reduced testcase
(compile with "gcc -O -ffast-math -march=i486"):
====================================
int foo(long double d, int i)
{
if (d == (long double)i)
return 1;
}
====================================
Happens on the 4.0 branch and mainline.
--
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |4.0.0 4.0.1 4.1.0
Known to work|4.1.0 |3.4.4
Summary|[4.0 only] ICE in |[4.0/4.1 regression] ICE
|redirect_branch_edge |with long doubles in
| |expand_simple_unop
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22585
------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.
Reply to: