From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4E755385841A; Thu, 25 Aug 2022 15:27:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4E755385841A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1661441253; bh=ifAkBi9GEBXdZKRX15rXHY2Gb4P1KXOz/gzUL630YJs=; h=From:To:Subject:Date:From; b=SWAWLM5FNZAm3ohhrk9M/rXdOZHfdELW246FrQWh/6JDqv3tFzgxv6KPbd/83HwGC mldfPjAxc33DQPADbIeJ4GpYtsMT7eKfme3E8JM8SiYjBmpF1pEagQw7kZfsQjaibi ck6c13hxNYKlOC9LDSeXV51B4mUm2rNTOsSuYYOs= From: "jbeulich at suse dot com" 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 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: analyzer X-Bugzilla-Version: 12.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jbeulich at suse dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D106741 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 =E2=80=98void ana::saved_diagnostic::dump_as_dot_node(pretty_print= er*) const=E2=80=99: /usr/local/src/gcc-12.2.0/gcc/analyzer/diagnostic-manager.cc:783:28: warnin= g: unknown conversion type character =E2=80=98E=E2=80=99 in format [-Wformat= =3D] 783 | pp_printf (pp, "var: %qE\n", m_var); | ^ /usr/local/src/gcc-12.2.0/gcc/analyzer/diagnostic-manager.cc:783:20: warnin= g: 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 wh= en calling other functions.=