c++/1917: ICE on legal code #283
Theodore.Papadopoulo@sophia.inria.fr
Theodore.Papadopoulo@sophia.inria.fr
Sun Apr 1 00:00:00 GMT 2001
>Number: 1917
>Category: c++
>Synopsis: ICE on legal code #283
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Thu Feb 08 14:46:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Theo Papadopoulo
>Release: gcc-2.97 (020801)
>Organization:
>Environment:
Linux 2.2.18 but certainly a frontend bug.
>Description:
It believe this is related to PR885 but the testcase is much simpler.
This is somewhat annoying as the example is simplified from QT.
If we remove A or B or the virtual destructors the bug disappears.
>How-To-Repeat:
Just compile it. You should get:
mururoa->g++ tutu.C
tutu.C: In function `int f(int)':
tutu.C:11: Internal error #283.
tutu.C:11: Internal compiler error in instantiate_template, at cp/pt.c:7595
Please submit a full bug report.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="TempBug.C"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="TempBug.C"
Ly8gQnVpbGQgZG9uJ3QgbGluazoKLy8gT3JpZ2luOiBUaGVvIFBhcGFkb3BvdWxvIDxUaGVvZG9y
ZS5QYXBhZG9wb3Vsb0Bzb3BoaWEuaW5yaWEuZnI+CgpzdHJ1Y3QgQSB7IHZpcnR1YWwgfkEoKTsg
fTsKc3RydWN0IEIgeyB2aXJ0dWFsIH5CKCk7IH07CgpzdHJ1Y3QgQzogcHVibGljIEEsQiB7fTsK
CnRlbXBsYXRlIDxjbGFzcyBUWVBFPgppbmxpbmUgVFlQRQpzcXIoY29uc3QgVFlQRSYgeCkgewog
ICAgcmV0dXJuIDE7Cn0KaW50IGYoY29uc3QgaW50IHQpIHsgcmV0dXJuIHNxcih0KTsgfQo=
More information about the Gcc-prs
mailing list