On Wed, 8 Nov 2023, Florian Weimer wrote:
> > v2: Update comment in gcc.dg/noncompile/pr55976-2.c. Do not produce
> > an error in C90 pedantic-error mode for return; in a function
> > returning non-void. Add gcc.dg/Wreturn-mismatch-6.c to demonstrate
> > this behavior.
>
> Ping?
* Florian Weimer:
> The existing -Wreturn-type option covers both constraint violations
> (which are mandatory to diagnose) and warnings that have known
> false positives. The new -Wreturn-mismatch warning is only about
> the constraint violations (missing or extra return expressions),
> and
The existing -Wreturn-type option covers both constraint violations
(which are mandatory to diagnose) and warnings that have known
false positives. The new -Wreturn-mismatch warning is only about
the constraint violations (missing or extra return expressions),
and should eventually be turned into