This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

c++/1588: 2.95.2 (and later) Internal compiler error on template instantiation



>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=

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]