aboutsummaryrefslogtreecommitdiff
path: root/gcc/omp-low.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2021-01-15 19:17:53 +0100
committerJakub Jelinek <jakub@redhat.com>2021-01-15 19:21:58 +0100
commit50dbced2f37ba9c4b9756c523a7a06b036151d2d (patch)
tree1b6f8f1a5e4afe33b7d203c96cbb43f6641d8461 /gcc/omp-low.c
parentd3959070aa46635734a9f3ad68ce4d95d1445673 (diff)
downloadgcc-50dbced2f37ba9c4b9756c523a7a06b036151d2d.zip
gcc-50dbced2f37ba9c4b9756c523a7a06b036151d2d.tar.gz
gcc-50dbced2f37ba9c4b9756c523a7a06b036151d2d.tar.bz2
openmp: Change the way of building of reduction array type
The PR98597 patch regresses on _Atomic-3.c, as in the C FE building an array type with qualified elements results in a type incompatible with when an array type with unqualified elements is qualified afterwards. This patch adds a workaround for that. 2021-01-15 Jakub Jelinek <jakub@redhat.com> * c-typeck.c (c_finish_omp_clauses): For reduction build array with unqualified element type and then call c_build_qualified_type on the ARRAY_TYPE.
Diffstat (limited to 'gcc/omp-low.c')
0 files changed, 0 insertions, 0 deletions