public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/5548: g++ 3.1 ICE on invalid input
@ 2003-01-01 13:35 neroden
  0 siblings, 0 replies; 3+ messages in thread
From: neroden @ 2003-01-01 13:35 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, snyder

Synopsis: g++ 3.1 ICE on invalid input

State-Changed-From-To: analyzed->closed
State-Changed-By: neroden
State-Changed-When: Wed Jan  1 05:35:40 2003
State-Changed-Why:
    Now (2002-01-01) compilation gives the error
    test.cxx:4: error: expected `)'
    No more ICE.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5548


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: c++/5548: g++ 3.1 ICE on invalid input
@ 2002-05-28  7:21 lerdsuwa
  0 siblings, 0 replies; 3+ messages in thread
From: lerdsuwa @ 2002-05-28  7:21 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, snyder

Synopsis: g++ 3.1 ICE on invalid input

State-Changed-From-To: open->analyzed
State-Changed-By: lerdsuwa
State-Changed-When: Tue May 28 07:18:46 2002
State-Changed-Why:
    Confirmed.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5548


^ permalink raw reply	[flat|nested] 3+ messages in thread

* c++/5548: g++ 3.1 ICE on invalid input
@ 2002-01-30 16:36 snyder
  0 siblings, 0 replies; 3+ messages in thread
From: snyder @ 2002-01-30 16:36 UTC (permalink / raw)
  To: gcc-gnats


>Number:         5548
>Category:       c++
>Synopsis:       g++ 3.1 ICE on invalid input
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-illegal-code
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 30 16:36:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     scott snyder
>Release:        3.1 20020129 (experimental)
>Organization:
>Environment:
System: Linux karma 2.4.9-13 #1 Tue Oct 30 20:11:04 EST 2001 i686 unknown
Architecture: i686

	
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../egcs/configure --prefix=/usr/local/egcs --enable-threads=posix --enable-long-long
>Description:

g++ dies with a segv compiling the source below (which is invalid C++):

$ g++ -c    x.cc
x.cc:3: parse error before `x'
x.cc:3: missing ';' before right brace
x.cc:4: ISO C++ forbids defining types within return type
x.cc:4: semicolon missing after declaration of `struct Item'
x.cc: In function `int Item()':
x.cc:4: only constructors take base initializers
x.cc:4: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.


>How-To-Repeat:

Compile this source:

-------------------------------------------------------------------
struct Item {
  int what;
  Item(string x)  {}
  Item() : what(0) {}
};

-------------------------------------------------------------------

>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-01-01 13:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-01 13:35 c++/5548: g++ 3.1 ICE on invalid input neroden
  -- strict thread matches above, loose matches on Subject: below --
2002-05-28  7:21 lerdsuwa
2002-01-30 16:36 snyder

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).