optimization/9085: gcc 3.2 unable to find register to spill when optimizing
reichelt@igpm.rwth-aachen.de
reichelt@igpm.rwth-aachen.de
Mon Jan 13 05:17:00 GMT 2003
Synopsis: gcc 3.2 unable to find register to spill when optimizing
State-Changed-From-To: open->analyzed
State-Changed-By: reichelt
State-Changed-When: Mon Jan 6 04:06:53 2003
State-Changed-Why:
Confirmed (on i686-pc-linux-gnu).
A cleaned-up testcase is the following:
------------------------snip here------------------------
struct A
{
unsigned char c;
int i, j;
void foo (unsigned, unsigned, unsigned);
};
void A::foo (unsigned c0, unsigned i0, unsigned j0)
{
c = c0%3;
i = i0;
j = j0;
}
------------------------snip here------------------------
The bug is present since at least gcc 2.95.x and is still
present in the 3.3 branch and mainline (3.4 20021230).
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9085
More information about the Gcc-bugs
mailing list