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/layout.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/layout.adb')
-rw-r--r-- | gcc/ada/layout.adb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ada/layout.adb b/gcc/ada/layout.adb index 618b0f8..7b0cdc5 100644 --- a/gcc/ada/layout.adb +++ b/gcc/ada/layout.adb @@ -2466,7 +2466,13 @@ package body Layout is -- into strange conformance problems between two types, one of which -- can see that something is unconstrained and one of which cannot. - elsif Ekind (E) = E_Anonymous_Access_Type then + elsif Ekind (E) = E_Anonymous_Access_Type + + -- For now eneable this only if debug flag -gnatd.1 is set, since + -- we have some regressions in gnatcoll that need sorting out??? + + and then Debug_Flag_Dot_1 + then Init_Size (E, System_Address_Size); -- For other access types, we use either address size, or, if a fat |