public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/105946] New: [12/13 Regression] ICE in maybe_warn_pass_by_reference, at tree-ssa-uninit.cc:843
@ 2022-06-13 12:58 gscfq@t-online.de
  2022-06-14  9:09 ` [Bug c++/105946] " rguenth at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: gscfq@t-online.de @ 2022-06-13 12:58 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105946

            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 = __gnu_cxx::__normal_iterator<const std::vector<T>*,
std::vector<std::vector<T> > >; _Tp = std::vector<T>; _Alloc =
std::allocator<std::vector<T> >]':
.../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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-07-19 11:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-13 12:58 [Bug c++/105946] New: [12/13 Regression] ICE in maybe_warn_pass_by_reference, at tree-ssa-uninit.cc:843 gscfq@t-online.de
2022-06-14  9:09 ` [Bug c++/105946] " rguenth at gcc dot gnu.org
2022-06-14 10:53 ` cvs-commit at gcc dot gnu.org
2022-06-14 10:54 ` [Bug c++/105946] [12 " rguenth at gcc dot gnu.org
2022-07-15 11:21 ` marxin at gcc dot gnu.org
2022-07-19 11:37 ` cvs-commit at gcc dot gnu.org
2022-07-19 11:38 ` rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).