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]

Re: c++/4979: g++ 3.0 & 3.1 compile failes with unable to find register to spill


Hi,

the ICE can be reproduced with the following small example:

class A
{
    int i;
    A& f();
};

A& A::f()
{
    i/=3;
    return *this;
}

Just compile the snippet with "g++ -O -fschedule-insns"
(gcc 3.0.x or 3.1 20011219 on i686-pc-linux-gnu).

Greetings,
Volker Reichelt


http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4979



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