From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 235183858CD1; Tue, 19 Mar 2024 11:45:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 235183858CD1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1710848729; bh=fslvyT7pkiNPvL2Ngm5dG95u86VSDP0tLyK8Ro/UrIM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=kViOE0ydaBkUMmTqGdAW3epGlEWe4/iaBpchg93B9Egggje7DXiuE5exbKGPLVMTi N0ZfE0GwVmVD7ATRZecTztBZk9cvpHMK8SY4K8sSdpLjXRmwHhkTZQ9YdJ1kT/dwS7 Wu4tYPaV00GwOnpByHbqu7OHIC/MTO+S9MygEOeg= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/114374] [12/13/14 Regression] snprintf Wformat-truncation Date: Tue, 19 Mar 2024 11:45:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 13.2.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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=3D114374 --- Comment #7 from Jakub Jelinek --- Bisection shows that first in r12-5014-g6b8b959675a3e14cfdd2145bd62e4260eb193765 we started to warn on both f and g in #c5 at -O0 -Wall, and then since r12-7870-g28c5df79300ab354cbc381aab200f7c2bd0331ad it only warns in f= and not in g anymore.=