From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CA52E3858CDB; Fri, 31 Mar 2023 07:28:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CA52E3858CDB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1680247720; bh=uxMNZ0jN2gLSLI+YVg7zghdz2HtzHMPzHFhguO8D5u4=; h=From:To:Subject:Date:From; b=d+mPA+MQ7FBauJWOLbi/nR8rQiQTcAsbCAcqpiaiIizwPhYdTGjwoN+PzohUXpdN0 tErKiimXNEtpqgWuUeuoi9mMHjpMr7yixckHVQ625yO5zGN9QGK+8X5tRgvS2PrXBc K6q1S1YRhtTObS/IvuXfz/OBSgCxkCtg88xt4Nyc= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/109353] New: FAIL: 23_containers/vector/bool/allocator/copy.cc (test for excess errors) Date: Fri, 31 Mar 2023 07:28:40 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone 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=3D109353 Bug ID: 109353 Summary: FAIL: 23_containers/vector/bool/allocator/copy.cc (test for excess errors) Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org Target Milestone: --- After the last ranger changes this test now FAILs with In file included from /home/rguenther/obj-trunk-g/x86_64-pc-linux-gnu/libstdc++-v3/include/vector= :62, from /home/rguenther/src/trunk/libstdc++-v3/testsuite/23_containers/vector/bool/= allocator/copy.cc:20: In static member function 'static _Up* std::__copy_move<_IsMove, true, std::random_access_iterator_tag>::__copy_m(_Tp*, _Tp*, _Up*) [with _Tp =3D = long unsigned int; _Up =3D long unsigned int; bool _IsMove =3D false]', inlined from '_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove= =3D false; _II =3D long unsigned int*; _OI =3D long unsigned int*]' at /home/rguenther/obj-trunk-g/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/s= tl_algobase.h:506, inlined from '_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove= =3D false; _II =3D long unsigned int*; _OI =3D long unsigned int*]' at /home/rguenther/obj-trunk-g/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/s= tl_algobase.h:533, inlined from '_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = =3D false; _II =3D long unsigned int*; _OI =3D long unsigned int*]' at /home/rguenther/obj-trunk-g/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/s= tl_algobase.h:540, inlined from '_OI std::copy(_II, _II, _OI) [with _II =3D long unsigned = int*; _OI =3D long unsigned int*]' at /home/rguenther/obj-trunk-g/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/s= tl_algobase.h:633, inlined from 'std::vector::iterator std::vector::_M_copy_aligned(const_iterator, const_iterator, iterator) [with _A= lloc =3D __gnu_test::propagating_allocator]' at /home/rguenther/obj-trunk-g/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/s= tl_bvector.h:1303, inlined from 'void std::vector::_M_insert_aux(iterator, b= ool) [with _Alloc =3D __gnu_test::propagating_allocator]' at /home/rguenther/obj-trunk-g/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/v= ector.tcc:945, inlined from 'void std::vector::push_back(bool) [with _Al= loc =3D __gnu_test::propagating_allocator]' at /home/rguenther/obj-trunk-g/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/s= tl_bvector.h:1121, inlined from 'void test01()' at /home/rguenther/src/trunk/libstdc++-v3/testsuite/23_containers/vector/bool/= allocator/copy.cc:33: /home/rguenther/obj-trunk-g/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/s= tl_algobase.h:437: warning: 'void* __builtin_memmove(void*, const void*, long unsigned int)' writing between 9 and 9223372036854775807 bytes into a region of size 8 overflows the destination [-Wstringop-overflow=3D] In file included from /home/rguenther/obj-trunk-g/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64= -pc-linux-gnu/bits/c++allocator.h:33, from /home/rguenther/obj-trunk-g/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/a= llocator.h:46, from /home/rguenther/obj-trunk-g/x86_64-pc-linux-gnu/libstdc++-v3/include/vector= :63: In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, con= st void*) [with _Tp =3D long unsigned int]', inlined from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp =3D long unsigned int]' at /home/rguenther/obj-trunk-g/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/a= lloc_traits.h:482, inlined from '__gnu_test::uneq_allocator::pointer __gnu_test::uneq_allocator::allocate(size_type, const void*) [wi= th Tp =3D long unsigned int; Alloc =3D std::allocator]' at /home/rguenther/src/trunk/libstdc++-v3/testsuite/util/testsuite_allocator.h= :360, inlined from 'static std::allocator_traits< >::pointer std::allocator_traits< >::allocate(_All= oc&, size_type) [with _Alloc =3D __gnu_test::propagating_allocator >]' at /home/rguenther/obj-trunk-g/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/a= lloc_traits.h:333, inlined from 'std::_Bvector_base<_Alloc>::_Bit_pointer std::_Bvector_base<_Alloc>::_M_allocate(std::size_t) [with _Alloc =3D __gnu_test::propagating_allocator]' at /home/rguenther/obj-trunk-g/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/s= tl_bvector.h:643, inlined from 'void std::vector::_M_insert_aux(iterator, b= ool) [with _Alloc =3D __gnu_test::propagating_allocator]' at /home/rguenther/obj-trunk-g/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/v= ector.tcc:943, inlined from 'void std::vector::push_back(bool) [with _Al= loc =3D __gnu_test::propagating_allocator]' at /home/rguenther/obj-trunk-g/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/s= tl_bvector.h:1121, inlined from 'void test01()' at /home/rguenther/src/trunk/libstdc++-v3/testsuite/23_containers/vector/bool/= allocator/copy.cc:33: /home/rguenther/obj-trunk-g/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/n= ew_allocator.h:147: note: destination object of size 8 allocated by 'operator new'=