[Bug target/15832] [3.5 Regression] ICE in move_for_stack_reg, at reg-stack.c:1120

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Aug 25 16:30:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list