This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/7782: [mainline regression] C++ compiler internal error in delete_insn, at cfgrtl.c:139
- 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, jvd at homer dot simpson, nobody at gcc dot gnu dot org
- Date: 5 Nov 2002 17:28:46 -0000
- Subject: Re: c++/7782: [mainline regression] C++ compiler internal error in delete_insn, at cfgrtl.c:139
- 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, jvd at homer dot simpson, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Old Synopsis: C++ compiler internal error in delete_insn, at cfgrtl.c:139
New Synopsis: [mainline regression] C++ compiler internal error in delete_insn, at cfgrtl.c:139
State-Changed-From-To: open->analyzed
State-Changed-By: reichelt
State-Changed-When: Tue Nov 5 09:28:45 2002
State-Changed-Why:
The bug is fixed on the 3.2 branch but still present on
mainline. It's a regression from 3.0.x where the code
compiled fine - thus "high priority".
BTW, the problem can be demonstrated with the following reduced testcase:
-------------------------snip here-----------------------
struct A
{
long long x, y;
void bar () const
{
A a;
a.y = ~y;
if ((a.x = -y)) ++a.y;
}
void foo (int) const;
};
void A::foo (int i) const
{
if (i) bar();
if (i) bar();
}
-------------------------snip here-----------------------
The bug seems to be target specific since it does not show up
on mips-sgi-irix6.5.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7782