------- Comment #2 from pinskia at gcc dot gnu dot org 2006-12-27 03:35 ------- Mine for the new year: Index: decl.c =================================================================== --- decl.c (revision 120211) +++ decl.c (working copy) @@ -6216,7 +6219,10 @@ XXX Isn't this done in start_function, too? */ revert_static_member_fn (decl); if (DECL_ARTIFICIAL (old_decl)) - error ("definition of implicitly-declared %qD", old_decl); + { + error ("definition of implicitly-declared %qD", old_decl); + return error_mark_node; + }
/* Since we've smashed OLD_DECL to its DECL_TEMPLATE_RESULT, we must do the same to DECL. */ -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot |dot org |org Status|NEW |ASSIGNED Last reconfirmed|2006-12-26 22:22:23 |2006-12-27 03:35:47 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30303