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++/12608] internal compiler error: tree check: expected class 't', have 'x' (error_mark) in cp_parser_class_specifier, at cp/parser.c:11264


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-01 13:43 -------
Still happens on the mainline:
pr12608.cc:18044: internal compiler error: tree check: expected class 't', have 'x' 
(error_mark) in cp_parser_class_specifier, at cp/parser.c:11854
Please submit a full bug report,with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
I might submit a simple fix for this.
  if (type != error_mark_node)
    type = finish_struct (type, attributes);
  if (pop_p)
    pop_scope (CP_DECL_CONTEXT (TYPE_MAIN_DECL (type)));


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2003-12-23 19:17:26         |2004-04-01 13:44:06
               date|                            |


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


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