C++ PATCH to handling of duplicate typedefs

Jason Merrill jason@redhat.com
Thu Nov 12 01:16:00 GMT 2015


Another GC problem I noticed while looking at something else: when we 
freed a duplicate typedef, we were leaving its type in the variants 
list, with its TYPE_NAME still pointing to the now-freed TYPE_DECL, 
leading to a crash.

Tested x86_64-pc-linux-gnu, applying to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: typedef-dup.patch
Type: text/x-patch
Size: 1181 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20151112/4671bf7f/attachment.bin>


More information about the Gcc-patches mailing list