On Mon, Sep 19, 2022 at 02:25:59PM -0400, Marek Polacek via Gcc-patches wrote:
> A trivial fix for maybe_warn_for_null_address where we print an
> inform note without first checking the return value of a warning
> call.
>
> Bootstrapped/regtested on x86_64-pc-linux-gnu, ok for trunk/12?
>
>
A trivial fix for maybe_warn_for_null_address where we print an
inform note without first checking the return value of a warning
call.
Bootstrapped/regtested on x86_64-pc-linux-gnu, ok for trunk/12?
PR c/106947
gcc/c/ChangeLog:
* c-typeck.cc (maybe_warn_for_null_address): Don't