C++ PATCH for c++/56247 (ICE with PMF in two template member functions)
Sat Feb 9 20:37:00 GMT 2013
Here, the internal representation of &Base::method in the templates
involves an OFFSET_REF around 'this', and we were treating the two
instances of Wrapper as equivalent. But they involve different 'this'
parameters, which makes a difference when we go to look up the local
specialization. So we need to be stricter when comparing hash table
entries so that they aren't shared.
Tested x86_64-pc-linux-gnu, applying to trunk, 4.7 and 4.6.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3122 bytes
Desc: not available
More information about the Gcc-patches