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]
Other format: [Raw text]

[Bug c++/19030] [4.0 Regression] ice on tree check


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-12-17 15:34 -------
Here's a reduced testcase:

===========================================================================
PR19030.cc:10: error: 'A' has not been declared
PR19030.cc:11: error: 'A' has not been declared
PR19030.cc:11: error: redefinition of 'int i'
PR19030.cc:10: error: 'int i' previously declared here
PR19030.cc:15: error: conflicting declaration 'struct N::A'
PR19030.cc:5: error: 'struct N::A' has a previous declaration as 'struct N::A'
PR19030.cc:15: internal compiler error: tree check: expected class
'declaration', have 'exceptional' (error_mark) in pushtag, at
cp/name-lookup.c:4672
===========================================================================


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
  GCC build triplet|pentium3-pld-linux          |
   GCC host triplet|pentium3-pld-linux          |
 GCC target triplet|pentium3-pld-linux          |
           Keywords|                            |error-recovery, monitored
      Known to work|3.3.2                       |3.3.5 3.4.3
   Last reconfirmed|0000-00-00 00:00:00         |2004-12-17 15:34:05
               date|                            |


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


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