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

--- Comment #7 from Andreas Schwab <sch...@linux-m68k.org> ---
../../gcc/tree-ssa-forwprop.c: In function 'bool
simplify_vector_constructor(gimple_stmt_iterator*)':
../../gcc/tree-ssa-forwprop.c:2107:14: error: array subscript 2 is above array
bounds of 'tree_node* [2]' [-Werror=array-bounds]
 2107 |        orig[j] = ref;
      |        ~~~~~~^
../../gcc/tree-ssa-forwprop.c:2044:17: note: while referencing 'orig'
 2044 |   tree op, op2, orig[2], type, elem_type;
      |                 ^~~~
../../gcc/tree-ssa-forwprop.c:2107:14: error: array subscript 2 is above array
bounds of 'tree_node* [2]' [-Werror=array-bounds]
 2107 |        orig[j] = ref;
      |        ~~~~~~^
../../gcc/tree-ssa-forwprop.c:2044:17: note: while referencing 'orig'
 2044 |   tree op, op2, orig[2], type, elem_type;
      |                 ^~~~

Reply via email to