C++ PATCH for c++/47068 (ICE with decltype of destructor name)

Jason Merrill jason@redhat.com
Wed Dec 29 03:13:00 GMT 2010


maybe_note_name_used_in_class assumes that its argument is, in fact, a 
name, not just an id-expression, so we shouldn't call it for non-names.

Tested x86_64-pc-linux-gnu, applied to trunk.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 47068.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20101229/e22cf244/attachment.ksh>


More information about the Gcc-patches mailing list