[cfe-commits] [patch] Fix assert with explicit template specialization instantiation declarations followed by their definitions if the non-specialized template isn't defined
zaffanella at cs.unipr.it
Fri Dec 16 16:16:22 PST 2011
Il 17/12/2011 00:57, Nico Weber ha scritto:
> the attached patch fixes http://llvm.org/pr11558
I am not sure that setting a valid POI is really wanted when the
explicit instantiation comes after an explicit specialization.
Since the template is specialized, it is not instantiated.
Hence, the late explicit instantiation(s) should have no effect.
If this is correct, then the patch attached here is maybe worth a try
(it passes all tests and seems to fix pr11558).
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 917 bytes
Desc: not available
More information about the cfe-commits