Follow-up Comment #3, bug #60798 (project make):

I expanded the patch a bit to also silence a _maybe-uninitialized_ error.

With GCC11, there is now only one warning remaining, which is the
_return-local-addr_ warning in src/read.c:2534 (find_percent_cached). The code
is correct, but GCC fails to prove that the final stack-bound allocation (if
applicable) will be copied to the string cache.

(file #52422)

Additional Item Attachment:

File name: SV-60798-Silence-bogus-GCC10-and-GCC11-warnings.patch Size:3 KB


Reply to this item at:


  Message sent via Savannah

Reply via email to