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

            Bug ID: 106510
           Summary: arm : ice in gimple_range_operand1, at
                    gimple-range-fold.cc:485
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

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

For the C testsuite file ./gcc.c-torture/execute/ieee/compare-fp-4.c compiled
by
recent gcc trunk 32 bit ARM cross compiler, does this:

during GIMPLE pass: threadfull
./gcc.c-torture/execute/ieee/compare-fp-4.c: In function â<80><98>ineâ<80><99>:
./gcc.c-torture/execute/ieee/compare-fp-4.c:42:5: internal compiler error: in
gimple_range_operand1, at gimple-range-fold.cc:485
   42 | int ine (float x, float y, int ok)
      |     ^~~
0x88a481 gimple_range_operand1(gimple const*)
    /home/dcb/gcc/trunk.git/gcc/gimple-range-fold.cc:485
0x88a481 gimple_range_operand1(gimple const*)
    /home/dcb/gcc/trunk.git/gcc/gimple-range-fold.cc:483

Flag -O2 required. I will have my usual go at reduction.

Reply via email to