aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2022-09-06 09:21:10 +0200
committerJakub Jelinek <jakub@redhat.com>2022-09-06 09:23:40 +0200
commit1bf8b7adc2de6f2ddaffa3af131b6855ae3e3793 (patch)
tree816196f88a6aa7020a272147fcf97d5a0163efbc /gcc/tree-vectorizer.h
parentbc1bc808d860c013318a3f126dc69cb894cb3e11 (diff)
downloadgcc-1bf8b7adc2de6f2ddaffa3af131b6855ae3e3793.zip
gcc-1bf8b7adc2de6f2ddaffa3af131b6855ae3e3793.tar.gz
gcc-1bf8b7adc2de6f2ddaffa3af131b6855ae3e3793.tar.bz2
openmp: Fix ICE when splitting invalid depend(source)/depend(sink:vec)
As we now create OMP_CLAUSE_DOACROSS rather than OMP_CLAUSE_DEPEND when depend is used with source/sink modifiers, c_omp_split_clauses can see OMP_CLAUSE_DOACROSS clause too before we diagnose it as erroneous. The following patch treats it like OMP_CLAUSE_DEPEND during the splitting but adds an assertion. 2022-09-06 Jakub Jelinek <jakub@redhat.com> PR c/106836 * c-omp.cc (c_omp_split_clauses): Handle OMP_CLAUSE_DOACROSS. * c-c++-common/gomp/pr106836.c: New test.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions