[multiple changes]
authorArnaud Charlet <charlet@gcc.gnu.org>
Tue, 25 Apr 2017 09:00:45 +0000 (11:00 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 25 Apr 2017 09:00:45 +0000 (11:00 +0200)
commitb043ae011153849317d63552814f54104999eeb0
tree76db43f4fd0f168ca1b0171fd54f5952bfecb030
parentb6e6a4e3804fc142a8c130cd2189f2461c9403ff
[multiple changes]

2017-04-25  Bob Duff  <duff@adacore.com>

* sem_util.ads, sem_util.adb (Should_Ignore_Pragma): New function
that returns True when appropriate.
* par-prag.adb, exp_prag.adb, sem_prag.adb: Do not ignore pragmas
when compiling predefined files.
* fname.ads, fname.adb (Is_Predefined_File_Name): Fix bug:
"gnat.adc" should not be considered a predefined file name.
That required (or at least encouraged) a lot of cleanup of global
variable usage. We shouldn't be communicating information via
the global name buffer.
* bindgen.adb, errout.adb, fname-uf.adb, lib-load.adb, make.adb,
* restrict.adb, sem_ch10.adb, sem_ch6.adb, sem_ch8.adb: Changes
required by the above-mentioned cleanup.

2017-04-25  Ed Schonberg  <schonberg@adacore.com>

* osint.adb (Find_File): Handle properly a request for a
configuration file whose name is a directory.

From-SVN: r247151
16 files changed:
gcc/ada/ChangeLog
gcc/ada/bindgen.adb
gcc/ada/errout.adb
gcc/ada/exp_prag.adb
gcc/ada/fname-uf.adb
gcc/ada/fname.adb
gcc/ada/fname.ads
gcc/ada/lib-load.adb
gcc/ada/make.adb
gcc/ada/osint.adb
gcc/ada/par-prag.adb
gcc/ada/sem_ch6.adb
gcc/ada/sem_ch8.adb
gcc/ada/sem_prag.adb
gcc/ada/sem_util.adb
gcc/ada/sem_util.ads