C++ PATCH for c++/53599 (ICE with local class in template)
Jason Merrill
jason@redhat.com
Thu Jun 7 20:29:00 GMT 2012
The problem here was that when we instantiate G::bar, we want to
instantiate F, and end up improperly pushing the declaration inside G,
which leads to the ICE. Adjusting the call to pushclass is enough to
fix this, which is what I propose doing for the 4.7 branch. For 4.8 I'm
going to do more.
Richard: I think we need to resolve 53599 for 4.7.1, either by reverting
the fix for 53137 or applying this patch. Do you have a preference?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 53599-4.7.patch
Type: text/x-patch
Size: 1173 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20120607/4ad053e9/attachment.bin>
More information about the Gcc-patches
mailing list