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 84980 ("[concepts] ICE with missing typename in concept")


Hi,

another straightforward ICE on invalid.  I spent however quite a bit of time on it, because I tried to catch the error_mark_node as early as possible, but that doesn't seem to work well error-recovery-wise: if, say, we catch it in deduce_constrained_parameter we end-up emitting a second redundant "‘C’ is not a type" error message because we skip 'C' completely. Thus, at least for the time being, I propose to simply catch the problem in finish_shorthand_constraint (which likely avoids more ICEs already in Bugzilla...). Tested x86_64-linux.

Thanks, Paolo.

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

Attachment: CL_84980
Description: Text document

Attachment: patch_84980
Description: Text document


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