diff options
author | Robert Dewar <dewar@adacore.com> | 2014-06-13 10:04:27 +0000 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2014-06-13 12:04:27 +0200 |
commit | 19634e40b7f905c8bb5ff7f1095829b91b718532 (patch) | |
tree | 9487715cc423d4e6a6b9b2ebeb0ea19ca404b7c3 /gcc/ada/debug.adb | |
parent | 446ebdbbd062cec9a8db76dcd5882683268d00a8 (diff) | |
download | gcc-19634e40b7f905c8bb5ff7f1095829b91b718532.zip gcc-19634e40b7f905c8bb5ff7f1095829b91b718532.tar.gz gcc-19634e40b7f905c8bb5ff7f1095829b91b718532.tar.bz2 |
debug.adb: Document debug flag -gnatd.1.
2014-06-13 Robert Dewar <dewar@adacore.com>
* debug.adb: Document debug flag -gnatd.1.
* layout.adb (Layout_Type): Size change for anonymous access
types under -gnatd.1.
* sem_ch3.adb (Replace_Type): Size change for anonymous access
types under -gnatd.1.
From-SVN: r211619
Diffstat (limited to 'gcc/ada/debug.adb')
-rw-r--r-- | gcc/ada/debug.adb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ada/debug.adb b/gcc/ada/debug.adb index eaab4ff..4e62365c 100644 --- a/gcc/ada/debug.adb +++ b/gcc/ada/debug.adb @@ -155,7 +155,7 @@ package body Debug is -- d8 Force opposite endianness in packed stuff -- d9 Allow lock free implementation - -- d.1 + -- d.1 Disable fix to make anonymous access types thin -- d.2 -- d.3 -- d.4 @@ -733,6 +733,12 @@ package body Debug is -- d9 This allows lock free implementation for protected objects -- (see Exp_Ch9). + -- d.1 There is a problem with making anonymous access types which refer + -- to an unconstrained array thick. And we have a fix, which is to + -- make them thin always. Search for Debug_Flag_Dot_1 in layout.adb + -- and sem_ch3.adb to see the explanation for why we don't enable this + -- fix for now unless this debug flag is set. + ------------------------------------------ -- Documentation for Binder Debug Flags -- ------------------------------------------ |