This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/15832] [3.5 Regression] ICE in move_for_stack_reg, at reg-stack.c:1120
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Aug 2004 16:30:17 -0000
- Subject: [Bug target/15832] [3.5 Regression] ICE in move_for_stack_reg, at reg-stack.c:1120
- References: <20040605111626.15832.schnetter@aei.mpg.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-08-25 16:30 -------
The testcase can be reduced to the following snippet - just compile with -O2:
================================
double foo(double *p)
{
double d;
if (d)
bar();
else
d = *p * 2;
return d;
}
================================
Vladimir, your patch
http://gcc.gnu.org/ml/gcc-cvs/2004-05/msg00867.html
seems to be responsible for the regression. Could you please have a look?
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |vmakarov at redhat dot com,
| |reichelt at gcc dot gnu dot
| |org
Keywords| |monitored
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15832