public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/4207: ICE at syntax error in enum declaration
@ 2002-12-30 13:52 reichelt
  0 siblings, 0 replies; 4+ messages in thread
From: reichelt @ 2002-12-30 13:52 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, wanderer

Synopsis: ICE at syntax error in enum declaration

State-Changed-From-To: analyzed->closed
State-Changed-By: reichelt
State-Changed-When: Mon Dec 30 13:52:43 2002
State-Changed-Why:
    Fixed in gcc 3.4 with the new parser.

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


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

* Re: c++/4207: ICE at syntax error in enum declaration
@ 2002-11-09 16:26 Volker Reichelt
  0 siblings, 0 replies; 4+ messages in thread
From: Volker Reichelt @ 2002-11-09 16:26 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/4207; it has been noted by GNATS.

From: Volker Reichelt <reichelt@igpm.rwth-aachen.de>
To: gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org,
        wanderer@rsu.ru
Cc:  
Subject: Re: c++/4207: ICE at syntax error in enum declaration
Date: Sun, 10 Nov 2002 02:08:38 +0100

 Hi,
 
 an even shorter testcase for the problem is the following:
 
 ----------snip here---------------
 typedef int A;
 enum ::A {};
 ----------snip here---------------
 
 Greetings,
 Volker
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4207
 
 


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

* Re: c++/4207: ICE at syntax error in enum declaration
@ 2001-09-14  7:09 lerdsuwa
  0 siblings, 0 replies; 4+ messages in thread
From: lerdsuwa @ 2001-09-14  7:09 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, wanderer

Synopsis: ICE at syntax error in enum declaration

State-Changed-From-To: open->analyzed
State-Changed-By: lerdsuwa
State-Changed-When: Fri Sep 14 07:09:22 2001
State-Changed-Why:
    Confirm as a bug.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4207&database=gcc


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

* c++/4207: ICE at syntax error in enum declaration
@ 2001-09-03  8:06 wanderer
  0 siblings, 0 replies; 4+ messages in thread
From: wanderer @ 2001-09-03  8:06 UTC (permalink / raw)
  To: gcc-gnats

>Number:         4207
>Category:       c++
>Synopsis:       ICE at syntax error in enum declaration
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-illegal-code
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 03 08:06:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     wanderer@rsu.ru
>Release:        gcc version 3.1 20010902 (experimental)
>Organization:
>Environment:
i386-unknown-freebsd4.4
>Description:
g++ break with message:
g++ -MD -fexceptions -W -Wall -Werror  -O -Wuninitialized  -Wredundant-decls  -pedantic  -ansi -march=athlon -mcpu=athlon -O3
-I/home/wanderer/work/cpp/include -DNDEBUG -o bug.o -c bug.cc
bug.cc:5: Tree check: expected identifier_node, have type_decl in lookup_tag,
   at cp/decl.c:5275

Also this ICE exist in gcc version 2.95.3 20010315 (release) [FreeBSD]
>How-To-Repeat:
Compile file:
--------------------
#include <sys/types.h>

class A {
 public:
  enum ::size_t {CONSTANT = 0}; //ERROR
};
--------------------
>Fix:

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


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

end of thread, other threads:[~2002-12-30 21:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-30 13:52 c++/4207: ICE at syntax error in enum declaration reichelt
  -- strict thread matches above, loose matches on Subject: below --
2002-11-09 16:26 Volker Reichelt
2001-09-14  7:09 lerdsuwa
2001-09-03  8:06 wanderer

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