This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/9085: gcc 3.2 unable to find register to spill when optimizing
- From: reichelt at igpm dot rwth-aachen dot de
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, j dot vanbemmel at home dot nl, nobody at gcc dot gnu dot org
- Date: 6 Jan 2003 12:07:08 -0000
- Subject: Re: optimization/9085: gcc 3.2 unable to find register to spill when optimizing
- Reply-to: reichelt at igpm dot rwth-aachen dot de, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, j dot vanbemmel at home dot nl, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
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