Committed as obvious.

2019-05-15  Richard Biener  <rguent...@suse.de>

        PR tree-optimization/88828
        * tree-ssa-forwprop.c (simplify_vector_constructor): Fix
        bogus check.

Index: gcc/tree-ssa-forwprop.c
===================================================================
--- gcc/tree-ssa-forwprop.c     (revision 271155)
+++ gcc/tree-ssa-forwprop.c     (working copy)
@@ -2102,7 +2102,7 @@ simplify_vector_constructor (gimple_stmt
                break;
            }
          /* Found a suitable vector element.  */
-         if (j <= 2)
+         if (j < 2)
            {
              orig[j] = ref;
              if (j)

Reply via email to