C++ PATCH for c++/54652 (ICE with repeated typedef/attribute)
Tue Jan 28 04:16:00 GMT 2014
Since duplicate_decls throws away the new decl before returning 1, we
need to make sure that we don't have anything pointing to it. In a
TYPE_DECL, the type points back to the decl via TYPE_NAME, so we always
need to choose the type from the olddecl.
Tested x86_64-pc-linux-gnu, applying to trunk and 4.8.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1270 bytes
Desc: not available
More information about the Gcc-patches