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]

[C++ Patch] PR 52599


Hi,

in order to avoid this ICE on invalid, I think it makes sense to explicitly check for try-block in massage_constexpr_body, since 7.1.5/4 explicitly rules out for constexpr constructors such function-body.

Tested x86_64-linux.

Thanks,
Paolo.

///////////////////////

Attachment: CL_52599
Description: Text document

Attachment: patch_52599
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]