public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jbeulich at suse dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/106741] New: suspicious %qE related warning when building gcc Date: Thu, 25 Aug 2022 15:27:32 +0000 [thread overview] Message-ID: <bug-106741-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106741 Bug ID: 106741 Summary: suspicious %qE related warning when building gcc Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: analyzer Assignee: dmalcolm at gcc dot gnu.org Reporter: jbeulich at suse dot com Target Milestone: --- This /usr/local/src/gcc-12.2.0/gcc/analyzer/diagnostic-manager.cc: In member function ‘void ana::saved_diagnostic::dump_as_dot_node(pretty_printer*) const’: /usr/local/src/gcc-12.2.0/gcc/analyzer/diagnostic-manager.cc:783:28: warning: unknown conversion type character ‘E’ in format [-Wformat=] 783 | pp_printf (pp, "var: %qE\n", m_var); | ^ /usr/local/src/gcc-12.2.0/gcc/analyzer/diagnostic-manager.cc:783:20: warning: too many arguments for format [-Wformat-extra-args] 783 | pp_printf (pp, "var: %qE\n", m_var); | ^~~~~~~~~~~~ suggests the use of %qE here is wrong, unlike elsewhere in the same file when calling other functions.
next reply other threads:[~2022-08-25 15:27 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-08-25 15:27 jbeulich at suse dot com [this message] 2022-08-25 17:08 ` [Bug analyzer/106741] " pinskia at gcc dot gnu.org 2022-08-25 17:13 ` pinskia at gcc dot gnu.org 2022-08-26 7:32 ` jbeulich at suse dot com
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-106741-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).