Re: C++ PATCH for c++/53599 (ICE with local class in template)

2012-06-12 Thread Jason Merrill
On 06/07/2012 04:29 PM, Jason Merrill wrote: 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

Re: C++ PATCH for c++/53599 (ICE with local class in template)

2012-06-11 Thread Richard Guenther
On Thu, 7 Jun 2012, Jason Merrill wrote: > 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