Assert 'offset2' instead of 'offset' in 'gcc/gimplify.c:gimplify_scan_omp_clauses'
authorThomas Schwinge <thomas@codesourcery.com>
Mon, 11 Nov 2019 08:18:46 +0000 (09:18 +0100)
committerThomas Schwinge <tschwinge@gcc.gnu.org>
Mon, 11 Nov 2019 08:18:46 +0000 (09:18 +0100)
... to fix a long-time typo/copy'n'past-o.

gcc/
* gimplify.c (gimplify_scan_omp_clauses): Assert 'offset2' instead
of 'offset'.

From-SVN: r278038

gcc/ChangeLog
gcc/gimplify.c

index a1e928bf804d35f46845526ec1b5a5d28dd9390c..ca0cebc20180c0200ed96df179cdfe0f03ff2324 100644 (file)
@@ -1,5 +1,8 @@
 2019-11-11  Thomas Schwinge  <thomas@codesourcery.com>
 
+       * gimplify.c (gimplify_scan_omp_clauses): Assert 'offset2' instead
+       of 'offset'.
+
        * Makefile.in (LANG_CONFIGUREFRAGS): Define.
        (config.status): Use/depend on it.
        * configure.ac (all_lang_configurefrags): Track, 'AC_SUBST'.
index 5fa0ba6dda60979e75061ef4333a81a65e64fb15..2bc41cf98ae901c2c270c6cb352baf7d54e24390 100644 (file)
@@ -8890,8 +8890,8 @@ gimplify_scan_omp_clauses (tree *list_p, gimple_seq *pre_p,
                              break;
                            if (scp)
                              continue;
-                           gcc_assert (offset == NULL_TREE
-                                       || poly_int_tree_p (offset));
+                           gcc_assert (offset2 == NULL_TREE
+                                       || poly_int_tree_p (offset2));
                            tree d1 = OMP_CLAUSE_DECL (*sc);
                            tree d2 = OMP_CLAUSE_DECL (c);
                            while (TREE_CODE (d1) == ARRAY_REF)