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

            Bug ID: 97371
           Summary: evrp problem with gcc.target/s390/pr77822-2.c and -O3
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

$ /home/dcb/gcc/results/bin/gcc -c -w -O3 gcc.target/s390/pr77822-2.c
during GIMPLE pass: evrp
./gcc.target/s390/pr77822-2.c: In function ‘pos_ll_129’:
./gcc.target/s390/pr77822-2.c:307:1: internal compiler error: in verify_range,
at value-range.cc:369
  307 | }
      | ^
0xfee18c irange::verify_range()
        ../../trunk.git/gcc/value-range.cc:369
0x18435ab int_range<255u>::int_range(tree_node*, tree_node*, value_range_kind)
        ../../trunk.git/gcc/value-range.h:414
0x18435ab operator_rshift::op1_range(irange&, tree_node*, irange const&, irange
const&) const
        ../../trunk.git/gcc/range-op.cc:1643

This is on a x86_64, but still it shouldn't crash.
The bug starts sometime between 20201006 and 20201007.
I'll have a go at reducing the code.

Reply via email to