------- Comment #2 from zsojka at seznam dot cz 2009-11-15 15:17 ------- Since: r153816 | jason | 2009-11-02 17:14:26 +0100 (Mon, 02 Nov 2009) | 5 lines
Restrict DR 757 change to C++0x mode. * decl2.c (mark_used): Check cxx_dialect. * decl.c (grokfndecl): Do check type linkage in C++98 mode. (grokvardecl): Likewise. * pt.c (check_instantiated_arg): Likewise. Everything works fine when compiled with --enable-checking=release, the resulting binary seems to be working correctly. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42010