From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D04F43858404; Mon, 18 Mar 2024 09:36:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D04F43858404 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1710754561; bh=P/MKA326MeBPIGKGfPgPpNmSR1aelDTRkisN3t4GAnU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=OaRkB7q12jPUxg8RMf3tjJ5oBdAIZq1nDtFW5HjADBZfqOuFUJaTSO0S1g/aYSX4E /+MsPgsCAPTww6NUMCt251B5BFWx131YZj3FfA//kwq3uwiWCdhKxrxaT5i/Lmsph4 JEVpKvSQVf1bn8N7DRHwYCOtZBadbxKiLu4oVsL0= From: "torsten.mandel at sap dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/114374] [12/13/14 Regression] snprintf Wformat-truncation Date: Mon, 18 Mar 2024 09:36:01 +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: torsten.mandel at sap dot com X-Bugzilla-Status: UNCONFIRMED 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 #3 from Torsten Mandel --- Sorry, actually it also triggers for values below LONG_MAX on gcc-12 & gcc-= 13 so it also works without UB which should not be the case.=