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++/27820] [4.0/4.1/4.2 regression] ICE with duplicate label



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-06-02 02:35 -------
  if (DECL_INITIAL (decl) != NULL_TREE)
    error ("duplicate label %qD", decl);
  else

Maybe adding into the if condition:
  POP_TIMEVAR_AND_RETURN (TV_NAME_LOOKUP, error_mark_node);

This might work but I have not tested it at all.


-- 


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


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