[Bug c++/47211] ICE: in cp_build_addr_expr_1, at cp/typeck.c:4866 with -fms-extensions
zsojka at seznam dot cz
gcc-bugzilla@gcc.gnu.org
Fri Jan 7 16:57:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47211
Zdenek Sojka <zsojka at seznam dot cz> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-invalid-code
--- Comment #3 from Zdenek Sojka <zsojka at seznam dot cz> 2011-01-07 16:32:39 UTC ---
The example is rejected by MSVC with error C2298:
http://msdn.microsoft.com/en-us/library/zkcy3ee2.aspx
The problem seems to be taking the address of (this->*pmethod), which would be
the same as error generated by gcc.
More information about the Gcc-bugs
mailing list