aboutsummaryrefslogtreecommitdiff
path: root/gcc/omp-expand.cc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2022-03-23 14:46:28 +0100
committerPierre-Marie de Rodat <derodat@adacore.com>2022-05-19 14:05:33 +0000
commite4c84b82c5f903de6911157281a837481bca780e (patch)
treebe13fd5c7ebf696b304a913e50d0877af48501eb /gcc/omp-expand.cc
parent9ae384160f4b2e3f3ad1576c737d72e127ffebc1 (diff)
downloadgcc-e4c84b82c5f903de6911157281a837481bca780e.zip
gcc-e4c84b82c5f903de6911157281a837481bca780e.tar.gz
gcc-e4c84b82c5f903de6911157281a837481bca780e.tar.bz2
[Ada] Do not give warnings for compiler-generated entities by default
The rationale is that these entities are almost always the result of expansion activities in the front-end, over which the user has very limited control. These warnings can be restored by means of -gnatD. gcc/ada/ * gcc-interface/utils.cc (gnat_pushdecl): Also set TREE_NO_WARNING on the decl if Comes_From_Source is false for the associated node.
Diffstat (limited to 'gcc/omp-expand.cc')
0 files changed, 0 insertions, 0 deletions