This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/1588: 2.95.2 (and later) Internal compiler error on template instantiation
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/1588: 2.95.2 (and later) Internal compiler error on template instantiation
- From: Hugues dot Talbot at cmis dot CSIRO dot AU
- Date: 9 Jan 2001 07:15:33 -0000
- Reply-To: Hugues dot Talbot at cmis dot CSIRO dot AU
>Number: 1588
>Category: c++
>Synopsis: 2.95.2 (and later) Internal compiler error on template instantiation
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jan 08 23:16:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Hugues Talbot
>Release: gcc version 2.95.2 19991024 (release)
>Organization:
>Environment:
Any gcc-2.95.2 I've tried. Solaris 2.7, Linux, DEC Unix.
Also on nightly build gcc
>Description:
Internal compilation error.
>How-To-Repeat:
c++ tada.cxx
>Fix:
replace the line
CLUT = (unsigned char [3][256])CLUTp;
with
CLUT = (unsigned char (*)[256])CLUTp;
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="tada.cxx"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="tada.cxx"
Y2xhc3MgQSB7CnB1YmxpYzoKIHRlbXBsYXRlIDxjbGFzcyBUPiB2b2lkIGYodm9pZCAqQ0xVVHAp
Owp9OwoKdGVtcGxhdGUgPGNsYXNzIFQ+IHZvaWQgQTo6Zih2b2lkICpDTFVUcCkKewogICAgdm9p
ZCAqQ0xVVDsKCiAgICBDTFVUID0gKHVuc2lnbmVkIGNoYXIgWzNdWzI1Nl0pQ0xVVHA7IC8vIFVn
bHkgdWdseSB1Z2x5LCB0aGFua3MgdG8gR0NDIG9uIERFQyBVbml4LgoKICAgIHJldHVybjsKfQoK
CmludCBtYWluKCkKewoJQSBteW9iajsKCXVuc2lnbmVkIGNoYXIgdFszXVsyNTZdOwoKCW15b2Jq
LmY8dW5zaWduZWQgY2hhcj4odCk7CgkJCglyZXR1cm4gMDsKfQo=