public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug analyzer/106741] New: suspicious %qE related warning when building gcc
@ 2022-08-25 15:27 jbeulich at suse dot com
  2022-08-25 17:08 ` [Bug analyzer/106741] " pinskia at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jbeulich at suse dot com @ 2022-08-25 15:27 UTC (permalink / raw)
  To: gcc-bugs

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-08-26  7:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-25 15:27 [Bug analyzer/106741] New: suspicious %qE related warning when building gcc jbeulich at suse dot com
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

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).