[Bug c++/67398] Segfault when template static references another template
trippels at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Aug 30 09:30:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67398
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-invalid-code
CC| |trippels at gcc dot gnu.org
--- Comment #3 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Might be related to PR63508.
Also gcc accepts this invalid code (starting with gcc-5):
template <typename T> struct A {
} a{};
Clang and EDG reject it.
More information about the Gcc-bugs
mailing list