[Bug c++/71784] [4.9/5/6/7 Regression] ICE on invalid code in push_access_scope, at cp/pt.c:229
mct_ancs at yahoo dot com
gcc-bugzilla@gcc.gnu.org
Mon Jul 11 15:01:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71784
--- Comment #12 from Ela <mct_ancs at yahoo dot com> ---
Example:
When an usual member function is missing (say template class
instantiated with extern), the compiler (4.9.3, 6.1) will complain
in_clear about the missing function.
When a ref-qual'ed one is missing it will show some mangle _Z-etc-etc
as missing.
If it's just the class templated, then letting the class instantiate
its own functions => will work.
If the function is nested templated, then it has to be explicitly
instantiated and again ICE.
More information about the Gcc-bugs
mailing list