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] |
PR c++/28741 is a 4.2 regression which might have been caused by my patch to fix PR c++.27668 and is caused by more parts of the front-end which couldn't handle error_mark_nodes.
After fixing the reported ICE another one cropped up in determine_visibility, also caused by an error_mark_node. The attached patch fixes both occurrences by adding in the relevant checks against error_mark_node to the affected places.
Cheers, Lee.
PR c++/28741 * tree.c (decl_anon_ns_mem_p): Robustify. * decl2.c (determine_visibility): Likewise.
PR c++/28741 * g++.dg/template/void7.C: New test.
Attachment:
pr28741.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |