From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 917DF3858C55; Fri, 15 Jul 2022 02:33:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 917DF3858C55 From: "chipitsine at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/106297] stringop-overflow misbehaviour on atomic Date: Fri, 15 Jul 2022 02:33:26 +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.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: chipitsine at gmail dot com X-Bugzilla-Status: WAITING 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: 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2022 02:33:26 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D106297 --- Comment #2 from =D0=98=D0=BB=D1=8C=D1=8F =D0=A8=D0=B8=D0=BF=D0=B8=D1=86= =D0=B8=D0=BD --- I have provided repro steps, hope they can be used to find any answer. I tried to add "-save-temps", but it gave another error (not seen without t= hat option): CC src/slz.o In file included from src/slz.c:29: include/import/slz-tables.h: In function =E2=80=98dist_to_code=E2=80=99: include/import/slz-tables.h:182:35: error: this statement may fall through [-Werror=3Dimplicit-fallthrough=3D] 182 | case 24577 ... 32768: code++; /* fall through */ | ~~~~^~ compilation terminated due to -Wfatal-errors. cc1: all warnings being treated as errors make: *** [Makefile:1004: src/slz.o] Error 1=