diff options
author | Bob Duff <duff@adacore.com> | 2019-08-14 09:51:57 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2019-08-14 09:51:57 +0000 |
commit | 3a02b4697e38e506c2856c104261cfe87550548a (patch) | |
tree | 63456a74e889d13b3259a2c0433e0b8f1222fb63 /gcc/ada/doc/gnat_ugn | |
parent | 6d0ca6acd0616ddac74d23c0bec3791e6c721142 (diff) | |
download | gcc-3a02b4697e38e506c2856c104261cfe87550548a.zip gcc-3a02b4697e38e506c2856c104261cfe87550548a.tar.gz gcc-3a02b4697e38e506c2856c104261cfe87550548a.tar.bz2 |
[Ada] Tweak the sloc of Compile_Time_Warning warnings
2019-08-14 Bob Duff <duff@adacore.com>
gcc/ada/
* sem_prag.adb (Validate_Compile_Time_Warning_Error): Attach the
warning to the Sloc of the first pragma argument, rather than to
the pragma itself. This is to make pragmas processed after the
back end use the same Sloc as pragmas processed earlier, in the
front end. There's no reason for this discrepancy, and it
hinders further work on this ticket.
From-SVN: r274461
Diffstat (limited to 'gcc/ada/doc/gnat_ugn')
0 files changed, 0 insertions, 0 deletions