This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi,the testcase shows that after Jason's r222134 in some cases it can still happen that TREE_PUBLIC is false and DECL_COMDAT is true, thus the assertion in vague_linkage_p triggers. For the testcase, in duplicate_decls, newdecl starts with both flags true and only the former becomes false when its value is copied from olddecl. Alternately to the simple tweak which I tested succesfully, I briefly wondered if we shouldn't just copy DECL_COMDAT too, in duplicate_decls, but that also causes the regression of ext/gnu-inline-global.C and ext/gnu-inline-namespace.C.
Thanks, Paolo. ////////////////////
Attachment:
CL_65811
Description: Text document
Attachment:
patch_65811
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |