public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/95496] New: [10/11 Regression] Bogus -Wformat-overflow= warnings with -fsanitize=undefined Date: Wed, 03 Jun 2020 11:28:12 +0000 [thread overview] Message-ID: <bug-95496-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95496 Bug ID: 95496 Summary: [10/11 Regression] Bogus -Wformat-overflow= warnings with -fsanitize=undefined Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org, marxin at gcc dot gnu.org Target Milestone: --- Created attachment 48666 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48666&action=edit A testcase GCC 10.1 gave [hjl@gnu-cfl-2 tmp]$ gcc -Wall -S -O2 x.i -fsanitize=undefined In function ‘pe_print_idata’, inlined from ‘_bfd_pe_print_private_bfd_data_common’ at peXXigen.c:2979:3: peXXigen.c:1378:3: warning: null format string [-Wformat-overflow=] peXXigen.c:1378:3: warning: null format string [-Wformat-overflow=] In function ‘pe_print_edata’, inlined from ‘_bfd_pe_print_private_bfd_data_common’ at peXXigen.c:2980:3: peXXigen.c:1713:3: warning: null format string [-Wformat-overflow=] peXXigen.c:1719:3: warning: null format string [-Wformat-overflow=] peXXigen.c:1716:3: warning: null format string [-Wformat-overflow=] peXXigen.c:1719:3: warning: null format string [-Wformat-overflow=] peXXigen.c:1719:3: warning: null format string [-Wformat-overflow=] peXXigen.c:1737:3: warning: null format string [-Wformat-overflow=] peXXigen.c:1744:3: warning: null format string [-Wformat-overflow=] peXXigen.c:1740:3: warning: null format string [-Wformat-overflow=] peXXigen.c:1744:3: warning: null format string [-Wformat-overflow=] peXXigen.c:1744:3: warning: null format string [-Wformat-overflow=] peXXigen.c:1747:3: warning: null format string [-Wformat-overflow=] peXXigen.c:1750:3: warning: null format string [-Wformat-overflow=] peXXigen.c:1750:3: warning: null format string [-Wformat-overflow=] peXXigen.c:1755:3: warning: null format string [-Wformat-overflow=] peXXigen.c:1760:3: warning: null format string [-Wformat-overflow=] peXXigen.c:1760:3: warning: null format string [-Wformat-overflow=] peXXigen.c:1760:3: warning: null format string [-Wformat-overflow=] [hjl@gnu-cfl-2 tmp]$ GCC 9.3 is OK.
next reply other threads:[~2020-06-03 11:28 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-06-03 11:28 hjl.tools at gmail dot com [this message] 2020-06-03 12:39 ` [Bug sanitizer/95496] " hjl.tools at gmail dot com 2020-06-03 12:42 ` rguenth at gcc dot gnu.org 2020-06-03 15:52 ` msebor at gcc dot gnu.org 2020-06-03 16:37 ` msebor at gcc dot gnu.org 2020-06-03 17:22 ` jakub at gcc dot gnu.org 2020-07-23 6:51 ` rguenth at gcc dot gnu.org 2021-01-14 8:58 ` rguenth at gcc dot gnu.org 2021-04-08 12:02 ` rguenth at gcc dot gnu.org 2022-06-28 10:40 ` [Bug sanitizer/95496] [10/11/12/13 " jakub at gcc dot gnu.org 2023-07-07 10:37 ` [Bug sanitizer/95496] [11/12/13/14 " rguenth at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-95496-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).