OSDN Git Service

* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Class_Wide_Type>: Fix
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Apr 2010 07:58:08 +0000 (07:58 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:32:19 +0000 (14:32 +0900)
comment.
* gcc-interface/trans.c (process_freeze_entity): Use local copy of
Ekind.  Return early for class-wide types.  Do not compute initializer
unless necessary.  Reuse the tree for an associated class-wide type
only if processing its root type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158295 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ada/ChangeLog
gcc/testsuite/ChangeLog

index 7c6a63c..79c4721 100644 (file)
@@ -1,3 +1,12 @@
+2010-04-14  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Class_Wide_Type>: Fix
+       comment.
+       * gcc-interface/trans.c (process_freeze_entity): Use local copy of
+       Ekind.  Return early for class-wide types.  Do not compute initializer
+       unless necessary.  Reuse the tree for an associated class-wide type
+       only if processing its root type.
+
 2010-04-13  Duncan Sands  <baldrick@free.fr>
 
        * gcc-interface/misc.c (gnat_eh_type_covers): Remove.
 2010-04-13  Duncan Sands  <baldrick@free.fr>
 
        * gcc-interface/misc.c (gnat_eh_type_covers): Remove.
index 49bc914..350da80 100644 (file)
@@ -1,3 +1,9 @@
+2010-04-14  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gnat.dg/class_wide.adb: Rename into...
+       * gnat.dg/class_wide1.adb: ...this.
+       * gnat.dg/class_wide2.ad[sb]: New test.
+
 2010-04-14  Tobias Burnus  <burnus@net-b.de>
 
        PR fortran/18918
 2010-04-14  Tobias Burnus  <burnus@net-b.de>
 
        PR fortran/18918