aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-switch-conversion.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2018-07-12 21:36:01 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2018-07-12 21:36:01 +0200
commit9b4520336913e7015415fa921ea1de89ac98cfa9 (patch)
tree211237062b7d9f8fe1a8f83048df1c6535b2bc5c /gcc/tree-switch-conversion.c
parentf34756291a6848f8eb6028a7a92808369ae8771b (diff)
downloadgcc-9b4520336913e7015415fa921ea1de89ac98cfa9.zip
gcc-9b4520336913e7015415fa921ea1de89ac98cfa9.tar.gz
gcc-9b4520336913e7015415fa921ea1de89ac98cfa9.tar.bz2
c-attribs.c (c_common_attribute_table): Add "omp declare target implicit" attribute.
* c-attribs.c (c_common_attribute_table): Add "omp declare target implicit" attribute. * c-decl.c (c_decl_attributes): Don't diagnose vars without mappable type here, instead add "omp declare target implicit" attribute. (finish_decl): Diagnose vars without mappable type here. * decl2.c (cplus_decl_attributes): Don't diagnose vars without mappable type here, instead add "omp declare target implicit" attribute. Add that attribute instead of "omp declare target" also when processing_template_decl. * decl.c (cp_finish_decl): Diagnose vars without mappable type here, and before calling cp_omp_mappable_type call complete_type. * c-c++-common/gomp/declare-target-3.c: New test. * g++.dg/gomp/declare-target-2.C: New test. From-SVN: r262605
Diffstat (limited to 'gcc/tree-switch-conversion.c')
0 files changed, 0 insertions, 0 deletions