r158295 - in /trunk/gcc: ada/ChangeLog ada/gcc-...

ebotcazou@gcc.gnu.org ebotcazou@gcc.gnu.org
Wed Apr 14 07:58:00 GMT 2010


Author: ebotcazou
Date: Wed Apr 14 07:58:08 2010
New Revision: 158295

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158295
Log:
	* 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.

Added:
    trunk/gcc/testsuite/gnat.dg/class_wide1.adb
      - copied, changed from r158255, trunk/gcc/testsuite/gnat.dg/class_wide.adb
    trunk/gcc/testsuite/gnat.dg/class_wide2.adb
    trunk/gcc/testsuite/gnat.dg/class_wide2.ads
Removed:
    trunk/gcc/testsuite/gnat.dg/class_wide.adb
Modified:
    trunk/gcc/ada/ChangeLog
    trunk/gcc/ada/gcc-interface/decl.c
    trunk/gcc/ada/gcc-interface/trans.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list