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 71139 ("[concepts] ill-formed compound-requirement lacking a semicolon not rejected")


Hi,

yesterday I didn't notice that we have a separate bug for a similar issue affecting cp_parser_compound_requirement. Tested x86_64-linux.

Thanks, Paolo.

PS: while working on these issues, I noticed that somewhere else in the concepts parsing bits we check the return value of cp_parser_require and, in case, immediately return error_mark_node. That doesn't seem a good idea - and isn't what we do for all the other cp_parser_require semicolon calls - because it normally degrades error recovery when the only bug in the code is the missing semicolon. I mean to further look into that...

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

Attachment: CL_71139
Description: Text document

Attachment: patch_71139
Description: Text document


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