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

            Bug ID: 112938
           Summary: ice with -fstrub=internal
           Product: gcc
           Version: 14.0
            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 56839
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56839&action=edit
C++ source code

foundBugs $ ~/gcc/results/bin/gcc -c -w bug988.cc
foundBugs $ ~/gcc/results/bin/gcc -c -w -fstrub=internal bug988.cc
bt2_locks.cpp: In member function ‘void mcs_lock::spin_while_eq(const volatile
std::atomic_bool&, bool)’:
bt2_locks.cpp:36:1: error: invalid operand in unary operation
# VUSE <.MEM_1(D)>
arg.61_2 ={v} (int) expected;
during IPA pass: strub
bt2_locks.cpp:36:1: internal compiler error: verify_gimple failed
0x120d053 verify_gimple_in_cfg(function*, bool, bool)
        ../../trunk.year/gcc/tree-cfg.cc:5666
0x107bc9a execute_function_todo(function*, void*)
        ../../trunk.year/gcc/passes.cc:2088

Reply via email to