From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0B0E43853545; Wed, 29 Jun 2022 00:03:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0B0E43853545 From: "hp at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/106120] [13 regression] g++.dg/warn/Wstringop-overflow-4.C fails since r13-1268-g8c99e307b20c50 Date: Wed, 29 Jun 2022 00:03:20 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hp at gcc dot gnu.org 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: cc 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: Wed, 29 Jun 2022 00:03:21 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D106120 Hans-Peter Nilsson changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hp at gcc dot gnu.org --- Comment #3 from Hans-Peter Nilsson --- (In reply to seurer from comment #2) > I am not sure. This only happens for 32 bit runs on power. 64 bit ones > work fine. You mean something like -m32 with powerpc64-linux-gnu? I'll dump my observations for cris-elf (a "32-bit target") hoping it'll hel= p: At r13-1268-g8c99e307b20c50: Running TOPLEVEL/gcc/testsuite/g++.dg/dg.exp ... ... FAIL: g++.dg/warn/Wstringop-overflow-4.C -std=3Dgnu++98 (test for excess e= rrors) ... At r13-1333-g74956337e827, (long) after r13-1271-g80ace9185dc534 aldyh@redhat.com "XFAIL a test in g++.dg/warn/Wstringop-overflow-4.C": Running TOPLEVEL/gcc/testsuite/g++.dg/dg.exp ... FAIL: g++.dg/warn/Wstringop-overflow-4.C -std=3Dgnu++98 (test for excess e= rrors) XPASS: g++.dg/warn/Wstringop-overflow-4.C -std=3Dgnu++14 (test for bogus messages, line 198) XPASS: g++.dg/warn/Wstringop-overflow-4.C -std=3Dgnu++17 (test for bogus messages, line 198) XPASS: g++.dg/warn/Wstringop-overflow-4.C -std=3Dgnu++20 (test for bogus messages, line 198) g++.log at that latter commit: FAIL: g++.dg/warn/Wstringop-overflow-4.C -std=3Dgnu++98 (test for excess e= rrors) Excess errors: TOPLEVEL/gcc/testsuite/g++.dg/warn/Wstringop-overflow-4.C:144:3: warning: 'void* __builtin_memcpy(void*, const void*, long unsigned int)' writing 3 b= ytes into a region of size 0 [-Wstringop-overflow=3D]=