r274461 - in /trunk/gcc/ada: ChangeLog sem_prag...
pmderodat@gcc.gnu.org
pmderodat@gcc.gnu.org
Wed Aug 14 09:51:00 GMT 2019
Author: pmderodat
Date: Wed Aug 14 09:51:57 2019
New Revision: 274461
URL: https://gcc.gnu.org/viewcvs?rev=274461&root=gcc&view=rev
Log:
[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.
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/sem_prag.adb
More information about the Gcc-cvs
mailing list