C++ PATCH for c++/63942 (mangling compat alias problems)

Jason Merrill jason@redhat.com
Mon Nov 24 13:16:00 GMT 2014


On 11/21/2014 04:32 PM, Jason Merrill wrote:
> In this testcase, the wrong old mangling for one constructor matches the
> correct mangling for the other constructor, and the testcase was failing
> to compile as a result.  But compatibility aliases should not be treated
> as conflicting with real declarations; they should be discarded.

We also need to avoid creating the alias declarations if they aren't 
going to become symbol aliases.

Tested x86_64-pc-linux-gnu, applying to trunk.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 63942.patch
Type: text/x-patch
Size: 1268 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20141124/1cce3b62/attachment.bin>


More information about the Gcc-patches mailing list