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 ICE on invalid happens only in c++17 mode, when redeclaration_error_message performs an additional check which only makes sense for data members. Thus the fix is easy: avoid checking DECL_DECLARED_CONSTEXPR_P on CONST_DECLs.
Tested x86_64-linux. Thanks, Paolo. //////////////////////
Attachment:
CL_84533
Description: Text document
Attachment:
patch_84533
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |