C++ PATCH for c++/42358 (duplicate symbols with variadic templates)

Jason Merrill jason@redhat.com
Tue Dec 15 20:18:00 GMT 2009


The problem turned out to be a problem with hash calculation; the hash 
value computed for a specialization when it was added to the hash table 
differed from the one computed when growing the hash table, because the 
code to skip over ARGUMENT_PACK_SELECT was doing it too late, after we'd 
already included it in the hash value.

Tested x86_64-pc-linux-gnu, applied to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 42358.patch
Type: text/x-patch
Size: 23098 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20091215/24ad325e/attachment.bin>


More information about the Gcc-patches mailing list