diff options
author | Jakub Jelinek <jakub@redhat.com> | 2020-05-12 10:00:32 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2020-05-12 10:05:27 +0200 |
commit | 99b0c9ec47d563d1f780cb678c04d37c9835440f (patch) | |
tree | b7b9cd82ea49c3c7dea130f968b12ed5cf84991f /gcc/ada/gcc-interface/utils.c | |
parent | 4c0283b9ad75b128b79c507d78d678123fe9f471 (diff) | |
download | gcc-99b0c9ec47d563d1f780cb678c04d37c9835440f.zip gcc-99b0c9ec47d563d1f780cb678c04d37c9835440f.tar.gz gcc-99b0c9ec47d563d1f780cb678c04d37c9835440f.tar.bz2 |
openmp: Fix up handling of DECL_OMP_PRIVATIZED_MEMBER for bit-fields [PR95063]
The r11-15 change broke this testcase, as it now asserts type is equal to
the type of the DECL_VALUE_EXPR, but for DECL_OMP_PRIVATIZED_MEMBER artificial
vars mapping to bitfields it wasn't. Fixed by changing the
DECL_OMP_PRIVATIZED_MEMBER var type in that case.
2020-05-12 Jakub Jelinek <jakub@redhat.com>
PR c++/95063
* pt.c (tsubst_decl): Deal with DECL_OMP_PRIVATIZED_MEMBER for
a bit-field.
* g++.dg/gomp/pr95063.C: New test.
Diffstat (limited to 'gcc/ada/gcc-interface/utils.c')
0 files changed, 0 insertions, 0 deletions