diff options
author | Ronan Desplanques <desplanques@adacore.com> | 2024-02-15 15:02:10 +0100 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2024-05-14 10:19:58 +0200 |
commit | 13d8374188eea21d56603135b6af254599c9e4b3 (patch) | |
tree | 4b1c6f750f1859ed8dca24cabf4cad84bc0d3d36 /gcc/expr.cc | |
parent | 151d1533f2b5d1742ab08f99fcc67affae9587f5 (diff) | |
download | gcc-13d8374188eea21d56603135b6af254599c9e4b3.zip gcc-13d8374188eea21d56603135b6af254599c9e4b3.tar.gz gcc-13d8374188eea21d56603135b6af254599c9e4b3.tar.bz2 |
ada: Fix pragma Warnings and -gnatD interaction
A recent change broke pragma Warnings when -gnatD is enabled in some
cases. This patch fixes this by caching more slocs at times when it's
known that they haven't been modified by -gnatD.
gcc/ada/
* errout.adb (Validate_Specific_Warnings): Adapt to record
definition change.
* erroutc.adb (Set_Specific_Warning_On, Set_Specific_Warning_Off,
Warning_Specifically_Suppressed): Likewise.
* erroutc.ads: Change record definition.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions