diff options
author | Yannick Moy <moy@adacore.com> | 2019-07-03 08:16:20 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2019-07-03 08:16:20 +0000 |
commit | 3f3dbb7b933c051e58544c8f3f98f587b498e5f5 (patch) | |
tree | 9d41066ec8daa918d0b5353a1729880a59a8d7f5 /gcc/fortran/trans-openmp.c | |
parent | 10aea826dae5e3bc306dc74b4aea9df830a3c96c (diff) | |
download | gcc-3f3dbb7b933c051e58544c8f3f98f587b498e5f5.zip gcc-3f3dbb7b933c051e58544c8f3f98f587b498e5f5.tar.gz gcc-3f3dbb7b933c051e58544c8f3f98f587b498e5f5.tar.bz2 |
[Ada] Suppress warnings in generic instantiations with pragma Warnings
Warnings issued by GNAT or GNATprove inside generic instantiations can
now be suppressed by using pragma Warnings Off/On around the instance.
This has mostly an effect on GNATprove, since GNAT typically does not
issue warnings on instantiations, only on the generic code itself.
2019-07-03 Yannick Moy <moy@adacore.com>
gcc/ada/
* erroutc.adb (Sloc_In_Range): New function to determine whether
the range of a pragma Warnings covers a location, taking
instantiations into account.
From-SVN: r272985
Diffstat (limited to 'gcc/fortran/trans-openmp.c')
0 files changed, 0 insertions, 0 deletions