r260860 - in /trunk/gcc/ada: ChangeLog lib-writ...
pmderodat@gcc.gnu.org
pmderodat@gcc.gnu.org
Tue May 29 09:29:00 GMT 2018
Author: pmderodat
Date: Tue May 29 09:28:59 2018
New Revision: 260860
URL: https://gcc.gnu.org/viewcvs?rev=260860&root=gcc&view=rev
Log:
[Ada] Preliminary work to avoid full pathnames in ALI files
Normally, ALI files refer to source files using simple names. This allows files
to be moved around without disturbing things (causing extra recompilations,
etc). However, for configuration files, the full pathname is stored. This patch
preparates the code base to store the simple name in this case.
2018-05-29 Bob Duff <duff@adacore.com>
gcc/ada/
* lib-writ.adb (Write_ALI): Cleanup: avoid use of global var; call new
To_Lower function.
* libgnat/s-casuti.ads, libgnat/s-casuti.adb (To_Upper, To_Lower,
To_Mixed): New functions.
* osint.adb: Cleanup: use Is_Directory_Separator, which correctly
allows both '\' and '/' on Windows.
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/lib-writ.adb
trunk/gcc/ada/libgnat/s-casuti.adb
trunk/gcc/ada/libgnat/s-casuti.ads
trunk/gcc/ada/osint.adb
More information about the Gcc-cvs
mailing list