diff options
author | Jakub Jelinek <jakub@redhat.com> | 2018-05-11 09:42:50 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2018-05-11 09:42:50 +0200 |
commit | 1c9ee609dffac3f7d59ac9b8ca725d3cb9769b61 (patch) | |
tree | e7db792cd4f69d5d1a77de3bd61c59c065d8b2c7 /gcc/config.gcc | |
parent | 5a599c460e3846df80aaabd2b4629544337167ba (diff) | |
download | gcc-1c9ee609dffac3f7d59ac9b8ca725d3cb9769b61.zip gcc-1c9ee609dffac3f7d59ac9b8ca725d3cb9769b61.tar.gz gcc-1c9ee609dffac3f7d59ac9b8ca725d3cb9769b61.tar.bz2 |
re PR c/85696 (OpenMP with variably modified and default(none) won't compile)
PR c/85696
* c-omp.c (c_omp_predetermined_sharing): Return
OMP_CLAUSE_DEFAULT_SHARED for artificial vars with integral type.
* cp-tree.h (cxx_omp_predetermined_sharing_1): New prototype.
* cp-gimplify.c (cxx_omp_predetermined_sharing): New wrapper around
cxx_omp_predetermined_sharing_1. Rename old function to ...
(cxx_omp_predetermined_sharing_1): ... this.
* semantics.c (finish_omp_clauses): Use cxx_omp_predetermined_sharing_1
instead of cxx_omp_predetermined_sharing.
* c-c++-common/gomp/pr85696.c: New test.
From-SVN: r260156
Diffstat (limited to 'gcc/config.gcc')
0 files changed, 0 insertions, 0 deletions