This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]