C++ PATCHes for c++/46105, c++/45102 (bogus partial specialization ambiguities)
Jason Merrill
jason@redhat.com
Tue Sep 27 04:02:00 GMT 2011
When Paolo asked earlier, I thought these two were the same bug, but on
investigation they turned out to be unrelated. In 46105 we were
treating (const T)::element_type as different from T::element_type, and
in 45102 we were pulling out the constant value of RUNTIME and then
deciding it was different from RUNTIME itself.
Tested x86_64-pc-linux-gnu, applying to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 46105.patch
Type: text/x-patch
Size: 1708 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110927/70b60c0a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 45102.patch
Type: text/x-patch
Size: 1639 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110927/70b60c0a/attachment-0001.bin>
More information about the Gcc-patches
mailing list