C++ PATCH for c++/61392 (ICE mangling member without object)

Jason Merrill jason@redhat.com
Sat Sep 20 00:52:00 GMT 2014


This code was first allowed by DR 850: as of C++11, in unevaluated 
context it's OK to refer to a non-static data member without an 
associated object.  The ABI says that this is mangled like an unresolved 
name, i.e. as the plain identifier.

Tested x86_64-pc-linux-gnu, applying to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 61392.patch
Type: text/x-patch
Size: 2007 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140920/6c1c783e/attachment.bin>


More information about the Gcc-patches mailing list