diff options
author | Andrew Stubbs <ams@codesourcery.com> | 2019-07-04 11:43:47 +0000 |
---|---|---|
committer | Andrew Stubbs <ams@gcc.gnu.org> | 2019-07-04 11:43:47 +0000 |
commit | 8862ed139a6ac3d28dc75ccbaa1dd36f47c8f9dd (patch) | |
tree | d197ed5096e7ecf36db67f3d48ccf35b0e7595dd /gcc/tree-ssa-alias.c | |
parent | 70980ea225624d49591ae24262c55f2328517b62 (diff) | |
download | gcc-8862ed139a6ac3d28dc75ccbaa1dd36f47c8f9dd.zip gcc-8862ed139a6ac3d28dc75ccbaa1dd36f47c8f9dd.tar.gz gcc-8862ed139a6ac3d28dc75ccbaa1dd36f47c8f9dd.tar.bz2 |
Improve OpenMP map diagnostics.
2019-07-04 Andrew Stubbs <ams@codesourcery.com>
gcc/cp/
* cp-tree.h (cp_omp_emit_unmappable_type_notes): New prototype.
* decl.c (cp_finish_decl): Call cp_omp_emit_unmappable_type_notes.
* decl2.c (cp_omp_mappable_type): Move contents to ...
(cp_omp_mappable_type_1): ... here and add note output.
(cp_omp_emit_unmappable_type_notes): New function.
* semantics.c (finish_omp_clauses): Call
cp_omp_emit_unmappable_type_notes in four places.
gcc/testsuite/
* g++.dg/gomp/unmappable-1.C: New file.
From-SVN: r273078
Diffstat (limited to 'gcc/tree-ssa-alias.c')
0 files changed, 0 insertions, 0 deletions