From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 650BD3858CDB; Thu, 30 Mar 2023 08:31:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 650BD3858CDB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1680165096; bh=jiZOowq7vMUcfCYdyWaJHhMOC1kl50I7JO+s8yPCl7I=; h=From:To:Subject:Date:In-Reply-To:References:From; b=K0vIqgowRHSEoUZcXc2JMrDRLjbAvI09pXS4KgQA+3TwL1PcbKv30STMwQ3q3ylHB 1/AZMenRihSGE1sQKL6uHSexqhOmxAmCeLupbplo+mB+DKHBKKp1dNRbNzNfOb6XKD QxaqLsvZKZm+0rrYs2mcIH05+AevIGk72LJico/A= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/107087] [13 Regression] bits/stl_algobase.h:431: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' reading between 8 and 2147483644 bytes from a region of size 4 [-Wstringop-overread] Date: Thu, 30 Mar 2023 08:31:21 +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, missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.0 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=3D107087 --- Comment #7 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #4) > Comment 0 comes from 22_locale/money_put/cons/3.cc >=20 > make check RUNTESTFLAGS=3D"conformance.exp=3D22_locale/money_put/cons/3.cc > --target_board=3Dunix/-m32" >=20 > (but I don't see it failing now). I was using the wrong flags, with -m32 -D_GLIBCXX_DEBUG it fails on gcc-12: Schedule of variations: unix/-m32/-D_GLIBCXX_USE_CXX11_ABI=3D0 Running target unix/-m32/-D_GLIBCXX_USE_CXX11_ABI=3D0 Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/share/dejagnu/config/unix.exp as generic interface file for targ= et. Using /home/jwakely/src/gcc/gcc-12/libstdc++-v3/testsuite/config/default.ex= p as tool-and-target-specific interface file. Running /home/jwakely/src/gcc/gcc-12/libstdc++-v3/testsuite/libstdc++-dg/conformanc= e.exp ... FAIL: 22_locale/money_get/cons/3.cc (test for excess errors) FAIL: 22_locale/money_put/cons/3.cc (test for excess errors) And also still fails on trunk after r13-6905: Schedule of variations: unix/-m32/-D_GLIBCXX_USE_CXX11_ABI=3D0 Running target unix/-m32/-D_GLIBCXX_USE_CXX11_ABI=3D0 Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/share/dejagnu/config/unix.exp as generic interface file for targ= et. Using /home/jwakely/src/gcc/gcc/libstdc++-v3/testsuite/config/default.exp as tool-and-target-specific interface file. Running /home/jwakely/src/gcc/gcc/libstdc++-v3/testsuite/libstdc++-dg/conformance.e= xp ... FAIL: 22_locale/money_get/cons/3.cc (test for excess errors) FAIL: 22_locale/money_put/cons/3.cc (test for excess errors) Comment 1 is fixed on trunk now though, thanks.=