[Bug c++/95724] bogue error : "expected '{' before ')' token"
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jun 18 12:25:17 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95724
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #6)
> (In reply to Richard Biener from comment #4)
> > Note the testcase does not ICE so ice-on-invalid is wrong. It's really
> > a diagnostic only. If we want sth extra to distinguish error diagnostics
> > from warning diagnostics then we should add one (can't come up with a good
> > name right now)
>
> It's like a weaker form of error-recovery but for cases that don't ICE.
error-recovery is fine then I guess since it doens't imply ICEing. We
use the combo of ice-on-invalid-code, error-recovery for that. But indeed
the description says 'use only for ice-on-invalid-code' ...
> cascading-errors maybe.
More information about the Gcc-bugs
mailing list