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 51612


Hi,

thus, as explained by Jason in the audit trail, the reason why we are ICE-ing here and failing to provide satisfactory diagnostics is that we are not checking for virtual base classes, which are explicitly forbidden in C++11 for constexpr constructors.

Thus I'm simply doing the below, tested x86_64-linux.

Thanks,
Paolo.

PS: I was not 100% sure, thus I double checked that defaulted and deleted are handled elsewhere.

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

Attachment: CL_51612
Description: Text document

Attachment: patch_51612
Description: Text document


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