[Bug c/105462] New: ice in set_range_info_raw, at tree-ssanames.cc:356

dcb314 at hotmail dot com gcc-bugzilla@gcc.gnu.org
Tue May 3 07:34:16 GMT 2022


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

            Bug ID: 105462
           Summary: ice in set_range_info_raw, at tree-ssanames.cc:356
           Product: gcc
           Version: 12.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 52919
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52919&action=edit
C source code

The attached C code, with compiler flag -O2, does this:

$ /home/dcb/gcc/results.20220430.asan.ubsan/bin/gcc -c -w -O2 bug807.c
during GIMPLE pass: vrp
atan.c: In function ‘mpfr_atan’:
atan.c:279:1: internal compiler error: in set_range_info_raw, at
tree-ssanames.cc:356
0x8ad950 set_range_info_raw(tree_node*, value_range_kind,
generic_wide_int<wide_int_ref_storage<false, true> > const&,
generic_wide_int<wide_int_ref_storage<false, true> > const&)
        ../../trunk.git/gcc/tree-ssanames.cc:356
0x305f39a set_range_info
        ../../trunk.git/gcc/tree-ssanames.cc:414

The previous compiler seemed fine:

$ /home/dcb/gcc/results.20220429.asan.ubsan/bin/gcc -c -w -O2 bug807.c
$ 

The bug first appears sometime between git hash 3d8d093e820b10a4 and
66d1e440e14377a3.

I have a reduction already running.


More information about the Gcc-bugs mailing list