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

            Bug ID: 77724
           Summary: [7 Regression] bootstrap-O3 broken: ICE: in
                    tree_to_uhwi, at tree.c:7330
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: trippels at gcc dot gnu.org
  Target Milestone: ---

markus@x4 libquadmath % cat strtoflt128.i
int a[81];
int b, c;
__float128 fn1(nptr, endptr, group) int nptr;
int endptr;
int group;
{
  int d = b;
  for (; c; --c)
    a[c + d] = a[c];
  return 0;
}

markus@x4 libquadmath % gcc -O3 -c strtoflt128.i
strtoflt128.i: In function ‘fn1’:
strtoflt128.i:3:12: internal compiler error: in tree_to_uhwi, at tree.c:7330
 __float128 fn1(nptr, endptr, group) int nptr;
            ^~~
0xe5f30a tree_to_uhwi(tree_node const*)
        ../../gcc/gcc/tree.c:7330
0xe204a6 create_intersect_range_checks_index
        ../../gcc/gcc/tree-vect-loop-manip.c:2313
0xe204a6 create_intersect_range_checks
        ../../gcc/gcc/tree-vect-loop-manip.c:2412
0xe204a6 vect_create_cond_for_alias_checks(_loop_vec_info*, tree_node**)
        ../../gcc/gcc/tree-vect-loop-manip.c:2500
0xe21b62 vect_loop_versioning(_loop_vec_info*, unsigned int, bool)
        ../../gcc/gcc/tree-vect-loop-manip.c:2574
0xe11107 vect_transform_loop(_loop_vec_info*)
        ../../gcc/gcc/tree-vect-loop.c:6780
0xe311e4 vectorize_loops()
        ../../gcc/gcc/tree-vectorizer.c:585
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

Reply via email to