summaryrefslogtreecommitdiff
path: root/gcc/ada/exp_dbug.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2007-09-26 10:43:08 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2007-09-26 10:43:08 +0000
commitf7ea8d80902bf3432cfc92d4a587e9c86ea584a7 (patch)
tree18f23b7e0e9c12024cb75b20f0152e08e9b920ae /gcc/ada/exp_dbug.adb
parent46ed552ee3a3aaa6139e90e3aaefe50397cf108a (diff)
downloadgcc-f7ea8d80902bf3432cfc92d4a587e9c86ea584a7.tar.gz
2007-09-26 Gary Dismukes <dismukes@adacore.com>
* exp_dbug.adb (Debug_Renaming_Declaration): Set Is_Internal on the debug variable so that it won't be initialized when pragma Initialize_Scalars is in effect. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128788 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/exp_dbug.adb')
-rw-r--r--gcc/ada/exp_dbug.adb5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ada/exp_dbug.adb b/gcc/ada/exp_dbug.adb
index e6d2139a7b5..2f1137b41cf 100644
--- a/gcc/ada/exp_dbug.adb
+++ b/gcc/ada/exp_dbug.adb
@@ -466,6 +466,11 @@ package body Exp_Dbug is
Set_Needs_Debug_Info (Obj);
+ -- Mark the object as internal so that it won't be initialized when
+ -- pragma Initialize_Scalars or Normalize_Scalars is in use.
+
+ Set_Is_Internal (Obj);
+
return Res;
-- If we get an exception, just figure it is a case that we cannot