diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2013-05-26 08:48:22 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2013-05-26 08:48:22 +0000 |
commit | 3fd7a66fddefe6ea59a42fc1139f715d0e3bb72f (patch) | |
tree | e3ae07551814997a53789a389ad5325c631e067e /gcc/ada/gcc-interface/trans.c | |
parent | 184179f1834363a901d50a31610d51045b6976c1 (diff) | |
download | gcc-3fd7a66fddefe6ea59a42fc1139f715d0e3bb72f.zip gcc-3fd7a66fddefe6ea59a42fc1139f715d0e3bb72f.tar.gz gcc-3fd7a66fddefe6ea59a42fc1139f715d0e3bb72f.tar.bz2 |
decl.c (gnat_to_gnu_entity): Do not prematurely elaborate the full view of a type with a freeze node.
* gcc-interface/decl.c (gnat_to_gnu_entity): Do not prematurely
elaborate the full view of a type with a freeze node.
* gcc-interface/trans.c (process_type): Add explicit predicate.
From-SVN: r199336
Diffstat (limited to 'gcc/ada/gcc-interface/trans.c')
-rw-r--r-- | gcc/ada/gcc-interface/trans.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/gcc-interface/trans.c b/gcc/ada/gcc-interface/trans.c index 6c9407e..13767e9 100644 --- a/gcc/ada/gcc-interface/trans.c +++ b/gcc/ada/gcc-interface/trans.c @@ -8723,7 +8723,7 @@ process_type (Entity_Id gnat_entity) if (Present (Freeze_Node (gnat_entity)) || (IN (Ekind (gnat_entity), Incomplete_Or_Private_Kind) && Present (Full_View (gnat_entity)) - && Freeze_Node (Full_View (gnat_entity)) + && Present (Freeze_Node (Full_View (gnat_entity))) && !present_gnu_tree (Full_View (gnat_entity)))) { elaborate_entity (gnat_entity); |