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,this is an accepts-invalid issue about an explicit specialization redeclared deleted. AFAICS, the problem is that start_decl sets DECL_DELETED_FN on the fndecl too late, that is, *after* calling grokdeclarator, whereas we want to have it set by the time the latter calls grokfndecl, because then the problem can be diagnosed by duplicate_decls (called by register_specialization via check_explicit_specialization). The below solves the issue by passing down the information about SD_DELETED from grokdeclator to grokfndecl.
Tested x86_64-linux. Thanks, Paolo. ///////////////////
Attachment:
CL_60753
Description: Text document
Attachment:
patch_60753
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |