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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Ok, will test
2025-01-23  Jakub Jelinek  <ja...@redhat.com>

        PR tree-optimization/118628
        * tree-vect-stmts.cc (vectorizable_store, vectorizable_load):
        Initialize offvar to NULL_TREE.

--- gcc/tree-vect-stmts.cc.jj   2025-01-23 11:10:48.357722650 +0100
+++ gcc/tree-vect-stmts.cc      2025-01-23 13:24:23.200875907 +0100
@@ -8645,7 +8645,7 @@ vectorizable_store (vec_info *vinfo,
       gimple_stmt_iterator incr_gsi;
       bool insert_after;
       gimple *incr;
-      tree offvar;
+      tree offvar = NULL_TREE;
       tree ivstep;
       tree running_off;
       tree stride_base, stride_step, alias_off;
@@ -10603,7 +10603,7 @@ vectorizable_load (vec_info *vinfo,
     {
       gimple_stmt_iterator incr_gsi;
       bool insert_after;
-      tree offvar;
+      tree offvar = NULL_TREE;
       tree ivstep;
       tree running_off;
       vec<constructor_elt, va_gc> *v = NULL;

then.

Reply via email to