From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 431BA3858C42; Sun, 4 Feb 2024 04:34:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 431BA3858C42 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1707021248; bh=URK9Ny25QkOS2sBCyt5PbehyTSk01dF3xmWoKrkIPRU=; h=From:To:Subject:Date:From; b=M41dvy5XvywXN6tbDeEPvKxgj2URIYd/BeIrdkxhf9TYYmSz6SkquVejvfGWaCIJy mCZ/KgxpVKK2+eJdxSfR1jEvPnAdDCr5QIO3R68TQp8nRjywf/mJq4J7enHOT7t9pU 5/y0ZzT//Mu2bWbcKzQoEQPZ8AJmviTN2hkXSXww= From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjLzExMzc1Ml0gTmV3OiBbMTQgUmVncmVzc2lvbl0gd2Fy?= =?UTF-8?B?bmluZzog4oCYJXPigJkgZGlyZWN0aXZlIHdyaXRpbmcgdXAgdG8gMTAyMTgg?= =?UTF-8?B?Ynl0ZXMgaW50byBhIHJlZ2lvbiBvZiBzaXplIGJldHdlZW4gMCBhbmQgMTAy?= =?UTF-8?B?NDAgWy1XZm9ybWF0LW92ZXJmbG93PV0=?= Date: Sun, 04 Feb 2024 04:34:07 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created 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=3D113752 Bug ID: 113752 Summary: [14 Regression] warning: =E2=80=98%s=E2=80=99 directive= writing up to 10218 bytes into a region of size between 0 and 10240 [-Wformat-overflow=3D] Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com Target Milestone: --- Created attachment 57315 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D57315&action=3Dedit A testcase [hjl@gnu-tgl-2 tmp]$ /usr/gcc-14.0.1-x32-apx/bin/gcc -O3 -S x.i -Wall=20 In file included from tests-mbwc/tst_wctype.c:8: tests-mbwc/tsp_common.c: In function =E2=80=98result.constprop.isra=E2=80= =99: tests-mbwc/tsp_common.c:55:24: warning: =E2=80=98%s=E2=80=99 directive writ= ing up to 10218 bytes into a region of size between 0 and 10240 [-Wformat-overflow=3D] tests-mbwc/tsp_common.c:55:3: note: =E2=80=98sprintf=E2=80=99 output betwee= n 18 and 20484 bytes into a destination of size 10256 [hjl@gnu-tgl-2 tmp]$=20 GCC 13 is OK.=