From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 130983856264; Mon, 13 Jun 2022 12:58:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 130983856264 From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/105946] New: [12/13 Regression] ICE in maybe_warn_pass_by_reference, at tree-ssa-uninit.cc:843 Date: Mon, 13 Jun 2022 12:58:12 +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: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.de 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 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: Mon, 13 Jun 2022 12:58:13 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D105946 Bug ID: 105946 Summary: [12/13 Regression] ICE in maybe_warn_pass_by_reference, at tree-ssa-uninit.cc:843 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gscfq@t-online.de Target Milestone: --- Started between 20210627 and 20210704, with g++.dg/pr100253.C or g++.dg/tree-ssa/pr46228.C : $ gcc-13-20220612 -c pr100253.C -O2 -fdisable-ipa-inline -W cc1plus: note: disable pass ipa-inline for functions in the range of [0, 4294967295] during GIMPLE pass: uninit In file included from .../gcc-13-20220612/include/c++/13.0.0/vector:64, from pr100253.C:4: .../gcc-13-20220612/include/c++/13.0.0/bits/stl_vector.h: In function 'std::vector<_Tp, _Alloc>::pointer std::vector<_Tp, _Alloc>::_M_allocate_and_copy(size_type, _ForwardIterator, _ForwardIterator) [with _ForwardIterator =3D __gnu_cxx::__normal_iterator*, std::vector > >; _Tp =3D std::vector; _Alloc =3D std::allocator >]': .../gcc-13-20220612/include/c++/13.0.0/bits/stl_vector.h:1611:9: internal compiler error: Segmentation fault 1611 | _M_allocate_and_copy(size_type __n, | ^~~~~~~~~~~~~~~~~~~~ 0xdb3fff crash_signal ../../gcc/toplev.cc:322 0xfb5cd8 maybe_warn_pass_by_reference ../../gcc/tree-ssa-uninit.cc:843 0xfb5cd8 warn_uninitialized_vars ../../gcc/tree-ssa-uninit.cc:1050 0xfb637e execute_late_warn_uninitialized ../../gcc/tree-ssa-uninit.cc:1343 0xfb637e execute ../../gcc/tree-ssa-uninit.cc:1396=