bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #60798] Make does not compile with GCC 11.1.0


From: Jouke Witteveen
Subject: [bug #60798] Make does not compile with GCC 11.1.0
Date: Fri, 3 Dec 2021 11:59:55 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0

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
   
<https://file.savannah.gnu.org/file/SV-60798-Silence-bogus-GCC10-and-GCC11-warnings.patch?file_id=52422>



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60798>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]