]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/ada/ChangeLog
frontend.adb (Frontend): Capture restrictions from config files
authorRobert Dewar <dewar@adacore.com>
Mon, 21 Nov 2011 11:45:44 +0000 (11:45 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 21 Nov 2011 11:45:44 +0000 (12:45 +0100)
commit51fb9b7396ee1201ea65164507f53c66a5a7d770
treefb9bebfb673ba0712a1a7bf85196eb0f3f51c752
parent56272abec68769b5638003ec3227a8097a60b321
frontend.adb (Frontend): Capture restrictions from config files

2011-11-21  Robert Dewar  <dewar@adacore.com>

* frontend.adb (Frontend): Capture restrictions from config files
* lib-load.adb (Load_Unit): Save/set/restore restriction pragma
information
* lib-xref.adb (Generate_Reference): Fix handling of obsolescent
references. This was noticed during debugging, but it is not
known if it causes real bugs.
* restrict.ads, restrict.adb: New routines to save/set/restore
non-partition-wide restrictions.
* s-rident.ads: Comment changes for new handling of
No_Elaboration_Code
* sem.adb (Sem): Save/Set/Restore non-partition-wide restrictions
* sem_ch10.adb (Analyze_Compilation_Unit): Remove incomplete
attempt to save/restore non-partition-wide restrictions (now
this work is all done in Sem).
* sem_prag.adb (Process_Restrictions_Or_Restriction_Warnings):
Special handling for restriction No_Elaboration_Code.

2011-11-21  Robert Dewar  <dewar@adacore.com>

* gnat_ugn.texi: Document new handling of restrictions pragmas.

From-SVN: r181566
gcc/ada/ChangeLog
gcc/ada/frontend.adb
gcc/ada/gnat_ugn.texi
gcc/ada/lib-load.adb
gcc/ada/lib-xref.adb
gcc/ada/restrict.adb
gcc/ada/restrict.ads
gcc/ada/s-rident.ads
gcc/ada/sem.adb
gcc/ada/sem_ch10.adb
gcc/ada/sem_prag.adb