public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/12051] New: internal compiler error: in pop_binding, at cp/decl.c:1138
@ 2003-08-25 12:31 Fons dot Rademakers at cern dot ch
  2003-08-25 12:35 ` [Bug c++/12051] " pinskia at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Fons dot Rademakers at cern dot ch @ 2003-08-25 12:31 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12051

           Summary: internal compiler error: in pop_binding, at
                    cp/decl.c:1138
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: critical
          Priority: P1
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Fons dot Rademakers at cern dot ch
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: 3.4 20030822
  GCC host triplet: Intel x86
GCC target triplet: Intel x86

g++: warning: -pipe ignored because -save-temps specified 
Reading specs from /home/opt/gcc-3.4-cvs/bin/../lib/gcc/i686-pc-linux-gnu/3.4/specs 
Configured with: '../gcc-3.4/configure' '--prefix=/opt/gcc-3.4-cvs '--enable-threads=posix 
'--enable-languages=c,c++,f77 
Thread model: posix 
gcc version 3.4 20030822 (experimental) 
 /home/opt/gcc-3.4-cvs/bin/../libexec/gcc/i686-pc-linux-gnu/3.4/cc1plus -E -quiet -v 
-Iinclude -iprefix /home/opt/gcc-3.4-cvs/bin/../lib/gcc/i686-pc-linux-gnu/3.4/ 
-D_GNU_SOURCE -D_REENTRANT table/src/TGenericTable.cxx -mtune=pentiumpro 
-Wall -W -Woverloaded-virtual -fPIC -g -o TGenericTable.ii 
ignoring nonexistent directory 
"/home/opt/gcc-3.4-cvs/bin/../lib/gcc/i686-pc-linux-gnu/3.4/../../../../i686-pc-linux-gnu/include" 
ignoring duplicate directory 
"/opt/gcc-3.4-cvs/lib/gcc/i686-pc-linux-gnu/3.4/../../../../include/c++/3.4" 
ignoring duplicate directory 
"/opt/gcc-3.4-cvs/lib/gcc/i686-pc-linux-gnu/3.4/../../../../include/c++/3.4/i686-pc-linux-gnu" 
ignoring duplicate directory 
"/opt/gcc-3.4-cvs/lib/gcc/i686-pc-linux-gnu/3.4/../../../../include/c++/3.4/backward" 
ignoring duplicate directory "/opt/gcc-3.4-cvs/lib/gcc/i686-pc-linux-gnu/3.4/include" 
ignoring nonexistent directory 
"/opt/gcc-3.4-cvs/lib/gcc/i686-pc-linux-gnu/3.4/../../../../i686-pc-linux-gnu/include" 
#include "..." search starts here: 
#include <...> search starts here: 
 include 
 /home/opt/gcc-3.4-cvs/bin/../lib/gcc/i686-pc-linux-gnu/3.4/../../../../include/c++/3.4 
 
/home/opt/gcc-3.4-cvs/bin/../lib/gcc/i686-pc-linux-gnu/3.4/../../../../include/c++/3.4/i686-pc-linux-gnu 
 /home/opt/gcc-3.4-cvs/bin/../lib/gcc/i686-pc-linux-gnu/3.4/../../../../include/c++/3.4/backward 
 /home/opt/gcc-3.4-cvs/bin/../lib/gcc/i686-pc-linux-gnu/3.4/include 
 /usr/local/include 
 /opt/gcc-3.4-cvs/include 
 /usr/include 
End of search list. 
 /home/opt/gcc-3.4-cvs/bin/../libexec/gcc/i686-pc-linux-gnu/3.4/cc1plus -fpreprocessed 
TGenericTable.ii -quiet -dumpbase TGenericTable.cxx -mtune=pentiumpro 
-auxbase-strip table/src/TGenericTable.o -g -Wall -W -Woverloaded-virtual -version -fPIC 
-o TGenericTable.s 
GNU C++ version 3.4 20030822 (experimental) (i686-pc-linux-gnu) 
	compiled by GNU C version 3.4 20030822 (experimental). 
GGC heuristics: --param ggc-min-expand=98 --param ggc-min-heapsize=129002 
In file included from table/src/TGenericTable.cxx:5: 
include/TGenericTable.h:67: error: `iterator' does not name a type 
include/TGenericTable.h:68: error: `iterator' does not name a type 
include/TGenericTable.h:69: error: `iterator' does not name a type 
include/TGenericTable.h:70: error: `iterator' does not name a type 
include/TGenericTable.h:72: internal compiler error: in pop_binding, at  
   cp/decl.c:1138 
Please submit a full bug report, 
with preprocessed source if appropriate. 
See <URL:http://gcc.gnu.org/bugs.html> for instructions. 
 
The file TGenericTable.ii can be found at ftp://pcsalo.cern.ch/pub/TGenericTable.ii.


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

* [Bug c++/12051] internal compiler error: in pop_binding, at cp/decl.c:1138
  2003-08-25 12:31 [Bug c++/12051] New: internal compiler error: in pop_binding, at cp/decl.c:1138 Fons dot Rademakers at cern dot ch
@ 2003-08-25 12:35 ` pinskia at gcc dot gnu dot org
  2003-08-25 12:37 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-25 12:35 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12051



------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-25 12:35 -------
Most likely related to bug 11886.


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

* [Bug c++/12051] internal compiler error: in pop_binding, at cp/decl.c:1138
  2003-08-25 12:31 [Bug c++/12051] New: internal compiler error: in pop_binding, at cp/decl.c:1138 Fons dot Rademakers at cern dot ch
  2003-08-25 12:35 ` [Bug c++/12051] " pinskia at gcc dot gnu dot org
@ 2003-08-25 12:37 ` pinskia at gcc dot gnu dot org
  2003-08-25 12:43 ` [Bug c++/12051] [3.4internal " pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-25 12:37 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12051



------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-25 12:37 -------
Created an attachment (id=4649)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4649&action=view)
pr12051.ii


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

* [Bug c++/12051] [3.4internal compiler error: in pop_binding, at cp/decl.c:1138
  2003-08-25 12:31 [Bug c++/12051] New: internal compiler error: in pop_binding, at cp/decl.c:1138 Fons dot Rademakers at cern dot ch
  2003-08-25 12:35 ` [Bug c++/12051] " pinskia at gcc dot gnu dot org
  2003-08-25 12:37 ` pinskia at gcc dot gnu dot org
@ 2003-08-25 12:43 ` pinskia at gcc dot gnu dot org
  2003-08-25 13:27 ` [Bug c++/12051] [3.4 Regression] internal " pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-25 12:43 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12051


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
            Summary|internal compiler error: in |[3.4internal compiler error:
                   |pop_binding, at             |in pop_binding, at
                   |cp/decl.c:1138              |cp/decl.c:1138
   Target Milestone|---                         |3.4


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-25 12:43 -------
I can reproduce this on the mainline (20030823) and this used to work in 3.3 so this is a 
regression, also removing the invalid code about the `iterator' GCC still ICEs.
I am reducing this one also.


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

* [Bug c++/12051] [3.4 Regression] internal compiler error: in pop_binding, at cp/decl.c:1138
  2003-08-25 12:31 [Bug c++/12051] New: internal compiler error: in pop_binding, at cp/decl.c:1138 Fons dot Rademakers at cern dot ch
                   ` (2 preceding siblings ...)
  2003-08-25 12:43 ` [Bug c++/12051] [3.4internal " pinskia at gcc dot gnu dot org
@ 2003-08-25 13:27 ` pinskia at gcc dot gnu dot org
  2003-08-25 13:29 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-25 13:27 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12051


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-08-25 13:27:37
               date|                            |
            Summary|[3.4internal compiler error:|[3.4 Regression] internal
                   |in pop_binding, at          |compiler error: in
                   |cp/decl.c:1138              |pop_binding, at
                   |                            |cp/decl.c:1138


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-25 13:27 -------
Here is the reduced sources:
typedef struct tableDescriptor_st {
} TABLEDESCRIPTOR_ST;
class TTable{
  class iterator { };
};
class TTableDescriptor : public TTable {
typedef tableDescriptor_st* iterator;
};
class TGenericTable : public TTable
{
  TTableDescriptor *fColDescriptors;
    class iterator { };
  TGenericTable() : TTable(), fColDescriptors(0) {}
};


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

* [Bug c++/12051] [3.4 Regression] internal compiler error: in pop_binding, at cp/decl.c:1138
  2003-08-25 12:31 [Bug c++/12051] New: internal compiler error: in pop_binding, at cp/decl.c:1138 Fons dot Rademakers at cern dot ch
                   ` (3 preceding siblings ...)
  2003-08-25 13:27 ` [Bug c++/12051] [3.4 Regression] internal " pinskia at gcc dot gnu dot org
@ 2003-08-25 13:29 ` pinskia at gcc dot gnu dot org
  2003-08-25 13:36 ` pinskia at gcc dot gnu dot org
  2003-08-27 15:11 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-25 13:29 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12051



------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-25 13:29 -------
Here is the sources reduced some more:
struct tableDescriptor_st { };
class TTable{  class iterator { };  };
class TTableDescriptor : public TTable { typedef tableDescriptor_st* iterator; };
class TGenericTable : public TTable
{
  TTableDescriptor *fColDescriptors;
    class iterator { };
};


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

* [Bug c++/12051] [3.4 Regression] internal compiler error: in pop_binding, at cp/decl.c:1138
  2003-08-25 12:31 [Bug c++/12051] New: internal compiler error: in pop_binding, at cp/decl.c:1138 Fons dot Rademakers at cern dot ch
                   ` (4 preceding siblings ...)
  2003-08-25 13:29 ` pinskia at gcc dot gnu dot org
@ 2003-08-25 13:36 ` pinskia at gcc dot gnu dot org
  2003-08-27 15:11 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-25 13:36 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12051


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  GCC build triplet|3.4 20030822                |
   GCC host triplet|Intel x86                   |
 GCC target triplet|Intel x86                   |


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-25 13:36 -------
>From Phil's regression hunter: Search converges between 2003-07-29-trunk (#357) and 2003-
07-30-trunk (#358).


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

* [Bug c++/12051] [3.4 Regression] internal compiler error: in pop_binding, at cp/decl.c:1138
  2003-08-25 12:31 [Bug c++/12051] New: internal compiler error: in pop_binding, at cp/decl.c:1138 Fons dot Rademakers at cern dot ch
                   ` (5 preceding siblings ...)
  2003-08-25 13:36 ` pinskia at gcc dot gnu dot org
@ 2003-08-27 15:11 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-27 15:11 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12051


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-27 15:11 -------
This is a dup of bug 11871 which is fixed now on the mainline.

*** This bug has been marked as a duplicate of 11871 ***


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

end of thread, other threads:[~2003-08-27 15:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-25 12:31 [Bug c++/12051] New: internal compiler error: in pop_binding, at cp/decl.c:1138 Fons dot Rademakers at cern dot ch
2003-08-25 12:35 ` [Bug c++/12051] " pinskia at gcc dot gnu dot org
2003-08-25 12:37 ` pinskia at gcc dot gnu dot org
2003-08-25 12:43 ` [Bug c++/12051] [3.4internal " pinskia at gcc dot gnu dot org
2003-08-25 13:27 ` [Bug c++/12051] [3.4 Regression] internal " pinskia at gcc dot gnu dot org
2003-08-25 13:29 ` pinskia at gcc dot gnu dot org
2003-08-25 13:36 ` pinskia at gcc dot gnu dot org
2003-08-27 15:11 ` pinskia at gcc dot gnu dot org

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