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

            Bug ID: 111274
           Summary: ice in fixup_blocks_walker with -O1 and -fopenmp
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

Created attachment 55831
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55831&action=edit
gzipped C++ source code

The attached C++ code does this with recent gcc trunk:

foundBugs $ /home/dcb38/gcc/results.20230825.asan.ubsan/bin/gcc -c -w -O1
-fopenmp bug956.cc
foundBugs $ /home/dcb38/gcc/results.20230829.asan.ubsan/bin/gcc -c -w -O1
-fopenmp bug956.cc
BipartiteGraphPartialColoring/BipartiteGraphPartialOrdering.cpp: In member
function ‘int
ColPack::BipartiteGraphPartialOrdering::RowSmallestLastOrdering_OMP()’:
BipartiteGraphPartialColoring/BipartiteGraphPartialOrdering.cpp:388:3: internal
compiler error: Segmentation fault
0x1156c49 crash_signal(int)
        ../../trunk.year/gcc/toplev.cc:314
0x978dda tree_check(tree_node*, char const*, int, char const*, tree_code)
        ../../trunk.year/gcc/tree.h:3579
0x978dda fixup_blocks_walker(tree_node**, int*, void*)
        ../../trunk.year/gcc/cp/parser.cc:44487

The bug first seems to appear sometime between g:449ab115dece8ac8
and g:f30d6a48635b5b18.

Reply via email to