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 58565


Hi,

here, with -std=c++11 LABEL_EXPR is unhandled by potential_constant_expression_1 and we can't emit a meaningful diagnostic. It seems safe to just add it to the main switch, together with the existing LABEL_DECL.

Tested x86_64-linux.

Thanks,
Paolo.

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

Attachment: CL_58565
Description: Text document

Attachment: patch_58565
Description: Text document


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