aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/doc/gnat_ugn
diff options
context:
space:
mode:
authorBob Duff <duff@adacore.com>2019-08-14 09:51:57 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2019-08-14 09:51:57 +0000
commit3a02b4697e38e506c2856c104261cfe87550548a (patch)
tree63456a74e889d13b3259a2c0433e0b8f1222fb63 /gcc/ada/doc/gnat_ugn
parent6d0ca6acd0616ddac74d23c0bec3791e6c721142 (diff)
downloadgcc-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