2012-10-01 Robert Dewar <dewar@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Oct 2012 10:17:59 +0000 (10:17 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Oct 2012 10:17:59 +0000 (10:17 +0000)
commit3cce7f32f897a528f364362e787307e7baacabb0
treec12dcb5d92664b2a69c5bff0a305c50b1caeaa9e
parent15e5d5caee15b49f187ad5217d0447110bf9267b
2012-10-01  Robert Dewar  <dewar@adacore.com>

* checks.adb (Overflow_Check_Mode): New function
(Apply_Overflow_Check): New procedure (Is_Check_Suppressed):
Moved here from Sem, Overflow_Check case now specially treated.
* checks.ads (Overflow_Check_Mode): New function
(Is_Check_Suppressed): Moved here from Sem (more logical)
* exp_ch4.adb (Substitute_Valid_Check): Suppress warning about
optimization if we are in MINIMIZED or ELIMINATED overflow
checking mode and within an assertiom expression.
* rtsfind.ads: Add entries for Bignum stuff.
* s-bignum.ads, s-bignum.adb: New files.
* sem.ads, sem.adb (Is_Check_Suppressed): Moved to Checks, more logical.
* sem_prag.adb (Process_Suppress_Unsuppress): New behavior for
Unsuppress of Overflow_Check (sets Checked instead of Minimized)
* sem_res.adb: Update comments.
* sinfo.ads (N_Op): Add documentation on overflow handling.
* tbuild.ads, tbuild.adb (Convert_To_And_Rewrite): New procedure.
* types.ads (Minimized_Or_Eliminated): New subtype.

2012-10-01  Eric Botcazou  <ebotcazou@adacore.com>

* layout.adb (Layout_Type): Do not set twice the address size
on an access-to-unconstrained array if Debug_Flag_6 is set.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191912 138bc75d-0d04-0410-961f-82ee72b054a4
16 files changed:
gcc/ada/ChangeLog
gcc/ada/checks.adb
gcc/ada/checks.ads
gcc/ada/exp_ch4.adb
gcc/ada/layout.adb
gcc/ada/rtsfind.ads
gcc/ada/s-bignum.adb [new file with mode: 0644]
gcc/ada/s-bignum.ads [new file with mode: 0644]
gcc/ada/sem.adb
gcc/ada/sem.ads
gcc/ada/sem_prag.adb
gcc/ada/sem_res.adb
gcc/ada/sinfo.ads
gcc/ada/tbuild.adb
gcc/ada/tbuild.ads
gcc/ada/types.ads