[Bug c++/20563] [3.4/4.0/4.1 Regression] Infinite loop in diagnostic (and ice after error message)

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Mar 20 02:00:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-20 02:00 -------
With checking enabled we get an ICE:
t.cc: In function `int foo(int)':
t.cc:5: error: expected identifier before '*' token
t.cc:5: internal compiler error: tree check: expected identifier_node, have error_mark in 
declare_local_label, at cp/decl.c:2162
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

And this is a regression from 3.3.3.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |error-recovery, ice-on-
                   |                            |invalid-code
      Known to fail|                            |3.4.0 4.0.0 4.1.0
      Known to work|                            |3.3.3
   Last reconfirmed|0000-00-00 00:00:00         |2005-03-20 02:00:06
               date|                            |
            Summary|Infinite loop in diagnostic |[3.4/4.0/4.1 Regression]
                   |                            |Infinite loop in diagnostic
                   |                            |(and ice after error
                   |                            |message)
   Target Milestone|---                         |3.4.4


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



More information about the Gcc-bugs mailing list