]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libgfortran/generated/norm2_r16.c
re PR libfortran/79956 (many new -Wmaybe-uninitialized warnings with bootstrap-O3)
[thirdparty/gcc.git] / libgfortran / generated / norm2_r16.c
index 35cbe93cccb1a057b0957d064766ba46f8f2f51d..5eaefb8a92dbd12772061cf774ff36fa6155253e 100644 (file)
@@ -191,9 +191,9 @@ norm2_r16 (gfc_array_r16 * const restrict retarray,
          base -= sstride[n] * extent[n];
          dest -= dstride[n] * extent[n];
          n++;
-         if (n == rank)
+         if (n >= rank)
            {
-             /* Break out of the look.  */
+             /* Break out of the loop.  */
              continue_loop = 0;
              break;
            }