diff options
author | Gary Dismukes <dismukes@adacore.com> | 2007-09-26 12:43:08 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2007-09-26 12:43:08 +0200 |
commit | af04dc07c565e452971c24476297f5cb6a50b2c6 (patch) | |
tree | 18f23b7e0e9c12024cb75b20f0152e08e9b920ae | |
parent | f23585f174e491dcf8fbb274a0e407cc2cc64886 (diff) | |
download | gcc-af04dc07c565e452971c24476297f5cb6a50b2c6.zip gcc-af04dc07c565e452971c24476297f5cb6a50b2c6.tar.gz gcc-af04dc07c565e452971c24476297f5cb6a50b2c6.tar.bz2 |
exp_dbug.adb (Debug_Renaming_Declaration): Set Is_Internal on the debug variable so that it won't be initialized when...
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.
From-SVN: r128788
-rw-r--r-- | gcc/ada/exp_dbug.adb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ada/exp_dbug.adb b/gcc/ada/exp_dbug.adb index e6d2139..2f1137b 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 |