re PR ada/17540 (Duplicate symbols while building Ada)
authorRobert Dewar <dewar@gnat.com>
Thu, 23 Sep 2004 09:00:08 +0000 (09:00 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Thu, 23 Sep 2004 09:00:08 +0000 (11:00 +0200)
commit2c9beb8a814141d774eb69ce9d1d088280a4ab6b
treef51a21c0629ac49a84b1dd8bcd28f290fa3eb6a5
parentf8d1c4278bcea3cdba69f22114a382090be0533e
re PR ada/17540 (Duplicate symbols while building Ada)

2004-09-23  Robert Dewar  <dewar@gnat.com>

PR ada/17540

* sem_prag.adb (Process_Import_Or_Interface): Don't set Is_Public here,
instead do this at freeze time (we won't do it if there is an address
clause).
Change "pragma inline" to "pragma Inline" in information and error
messages.
Minor reformatting.

* freeze.adb (Check_Address_Clause): Remove previous change, not the
right way of doing things after all.
(Freeze_Entity): For object, set Is_Public for imported entities
unless there is an address clause present.

From-SVN: r87936
gcc/ada/ChangeLog
gcc/ada/freeze.adb
gcc/ada/sem_prag.adb