diff options
author | Jakub Jelinek <jakub@redhat.com> | 2019-02-01 00:05:01 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2019-02-01 00:05:01 +0100 |
commit | 829a433832bd0c4759f5b71e4741b0bf407690c0 (patch) | |
tree | 3f922d464de1251c79e15260255dfff7a5f29475 /gcc/omp-low.c | |
parent | 8d169fc1b1f09fc777f4f6539dbdb7cf58498c52 (diff) | |
download | gcc-829a433832bd0c4759f5b71e4741b0bf407690c0.zip gcc-829a433832bd0c4759f5b71e4741b0bf407690c0.tar.gz gcc-829a433832bd0c4759f5b71e4741b0bf407690c0.tar.bz2 |
re PR middle-end/89137 (gcc/omp-low.c:7135: possible read of uninit memory ?)
PR middle-end/89137
* omp-low.c (lower_omp_task_reductions): Drop redundant test to avoid
bogus clang warning.
From-SVN: r268434
Diffstat (limited to 'gcc/omp-low.c')
-rw-r--r-- | gcc/omp-low.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/omp-low.c b/gcc/omp-low.c index 1043b6b..61f2f5e 100644 --- a/gcc/omp-low.c +++ b/gcc/omp-low.c @@ -7132,7 +7132,7 @@ lower_omp_task_reductions (omp_context *ctx, enum tree_code code, tree clauses, lab3 = create_artificial_label (UNKNOWN_LOCATION); if (code == OMP_FOR) c = gimple_omp_for_clauses (ctx->stmt); - else if (code == OMP_SECTIONS) + else /* if (code == OMP_SECTIONS) */ c = gimple_omp_sections_clauses (ctx->stmt); c = OMP_CLAUSE_DECL (omp_find_clause (c, OMP_CLAUSE__REDUCTEMP_)); cancellable = c; |