[Bug tree-optimization/92644] New: [9/10 Regression] ICE in wide_int_to_tree_1, at tree.c:1530

asolokha at gmx dot com gcc-bugzilla@gcc.gnu.org
Sun Nov 24 04:12:00 GMT 2019


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

            Bug ID: 92644
           Summary: [9/10 Regression] ICE in wide_int_to_tree_1, at
                    tree.c:1530
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---

g++-10.0.0-alpha20191117 snapshot (r278376) and 9.2.0 ICE when compiling the
following testcase w/ -O1 -fno-early-inlining:

int
x8 ()
{
  return ([rn = nullptr] () { return rn; } ()) ? 1 : 0;
}

% g++-10.0.0-alpha20191117 -O1 -fno-early-inlining -c hfy7acky.C
during GIMPLE pass: phiopt
hfy7acky.C: In function 'int x8()':
hfy7acky.C:5:1: internal compiler error: in wide_int_to_tree_1, at tree.c:1530
    5 | }
      | ^
0x7ae494 wide_int_to_tree_1
       
/var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191117/work/gcc-10-20191117/gcc/tree.c:1530
0x10b76d4 minmax_replacement
       
/var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191117/work/gcc-10-20191117/gcc/tree-ssa-phiopt.c:1389
0x10bb49b tree_ssa_phiopt_worker
       
/var/tmp/portage/sys-devel/gcc-10.0.0_alpha20191117/work/gcc-10-20191117/gcc/tree-ssa-phiopt.c:348


More information about the Gcc-bugs mailing list