public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/7058: ice when using static const strings in classes
@ 2002-06-17 11:46 mike_mian
0 siblings, 0 replies; 2+ messages in thread
From: mike_mian @ 2002-06-17 11:46 UTC (permalink / raw)
To: gcc-gnats
>Number: 7058
>Category: c++
>Synopsis: ice when using static const strings in classes
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Mon Jun 17 11:26:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: mike_mian@yahoo.com
>Release: gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
>Organization:
>Environment:
Solaris
>Description:
compiled this;
#include <iostream>
#include <string>
class myobj {
public:
static const string s = "bug";
};
and got
bug.cpp:6: Internal compiler error 109.
bug.cpp:6: Please submit a full bug report to `egcs-bugs@egcs.cygnus.com'.
bug.cpp:6: See <URL:http://egcs.cygnus.com/faq.html#bugreport> for details.
>How-To-Repeat:
g++ bug.cpp
>Fix:
none known
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="bug.cpp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="bug.cpp"
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgoKY2xhc3MgbXlvYmogewoJcHVi
bGljOgoJc3RhdGljIGNvbnN0IHN0cmluZyBzID0gImJ1ZyI7Cn07Cgo=
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: c++/7058: ice when using static const strings in classes
@ 2002-06-24 8:06 lerdsuwa
0 siblings, 0 replies; 2+ messages in thread
From: lerdsuwa @ 2002-06-24 8:06 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, mike_mian, nobody
Synopsis: ice when using static const strings in classes
State-Changed-From-To: open->closed
State-Changed-By: lerdsuwa
State-Changed-When: Mon Jun 24 08:03:57 2002
State-Changed-Why:
Fixed in newer versions of GCC.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7058
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-06-24 15:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-17 11:46 c++/7058: ice when using static const strings in classes mike_mian
2002-06-24 8:06 lerdsuwa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).