From: Thomas Schwinge Date: Mon, 11 Nov 2019 08:19:23 +0000 (+0100) Subject: Assert 'offset2' instead of 'offset' in 'gcc/gimplify.c:gimplify_scan_omp_clauses' X-Git-Tag: releases/gcc-9.3.0~398 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c14d05e62f8931ec63d7e8974372d4f84b4039e9;p=thirdparty%2Fgcc.git Assert 'offset2' instead of 'offset' in 'gcc/gimplify.c:gimplify_scan_omp_clauses' ... to fix a long-time typo/copy'n'past-o. gcc/ * gimplify.c (gimplify_scan_omp_clauses): Assert 'offset2' instead of 'offset'. Backport from trunk r278038. From-SVN: r278039 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 52d867db50a1..fc19dae278d4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2019-11-11 Thomas Schwinge + Backport from trunk: + * gimplify.c (gimplify_scan_omp_clauses): Assert 'offset2' instead + of 'offset'. + Backport from trunk: * Makefile.in (LANG_CONFIGUREFRAGS): Define. (config.status): Use/depend on it. diff --git a/gcc/gimplify.c b/gcc/gimplify.c index 28e13a710215..a0cb6c402bcf 100644 --- a/gcc/gimplify.c +++ b/gcc/gimplify.c @@ -8718,8 +8718,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)