Bug 3610 - ICE on C++ code
Summary: ICE on C++ code
Status: VERIFIED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: c++ (show other bugs)
Version: 2.95.4
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords: ice-on-invalid-code
Depends on:
Blocks:
 
Reported: 2001-07-08 16:26 UTC by olly
Modified: 2005-07-23 22:41 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
aven-gfxcore.ii.bz2 (95.92 KB, application/octet-stream)
2003-05-21 15:16 UTC, olly
Details

Note You need to log in before you can comment on or make changes to this bug.
Description olly 2001-07-08 16:26:00 UTC
c++ -g -O2 -c aven-gfxcore.ii

gives:

aven-gfxcore.ii: In method `void GfxCore::Initialise()':
aven-gfxcore.ii:14378: Internal compiler error.
aven-gfxcore.ii:14378: Please submit a full bug report.
aven-gfxcore.ii:14378: Internal compiler error:
aven-gfxcore.ii:14378: See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

Release:
gcc version 2.95.4 20010703 (Debian prerelease)

Environment:
uname -a says:
Linux roadkill 2.2.19 #1 Sun Jun 24 15:06:27 EST 2001 i686 unknown
running debian unstable
Comment 1 olly 2001-07-08 16:26:00 UTC
Fix:
This ICE doesn't seem to occur in gcc 3.0 (or at least it's not triggered by this example).  So upgrading is a fix if that's an option.
Comment 2 Kriang Lerdsuwanakij 2001-07-09 07:28:31 UTC
State-Changed-From-To: open->closed
State-Changed-Why: Fixed in gcc 3.0.  It won't be fixed in 2.95.x branch.
Comment 3 olly 2004-02-29 03:22:22 UTC
Verified as fixed in 3.2.3.  It also appears to be fixed by the latest Debian
patched version of 2.95: "gcc version 2.95.4 20011002 (Debian prerelease)"