This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/715: ICE in spill_failure upon returning undefined variable
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/715: ICE in spill_failure upon returning undefined variable
- From: holmen at mail dot nu
- Date: 31 Oct 2000 00:07:09 -0000
- Reply-To: holmen at mail dot nu
- Resent-Cc: gcc-prs at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, jason at gcc dot gnu dot org
- Resent-Reply-To: gcc-gnats@gcc.gnu.org, holmen@mail.nu
>Number: 715
>Category: c++
>Synopsis: ICE in spill_failure upon returning undefined variable
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: ice-on-illegal-code
>Submitter-Id: net
>Arrival-Date: Mon Oct 30 16:16:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator: Thomas Holmen Jørgensen
>Release: gcc version 2.96 20000731 (Red Hat Linux 7.0)
>Organization:
>Environment:
>Description:
A bit complicated since the compiler fails to find a
register. See How-To-Repeat.
>How-To-Repeat:
class C {
int f() {return 0;}
};
class D {
C a[1];
C* g();
};
C* D::g() {
int i = 0;
while (i < 1 && a[i].f() != 1) {}
return undefined_variable;
}
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: