r158255 - in /trunk/gcc: ada/ChangeLog ada/gcc-...
ebotcazou@gcc.gnu.org
ebotcazou@gcc.gnu.org
Tue Apr 13 07:21:00 GMT 2010
Author: ebotcazou
Date: Tue Apr 13 07:21:15 2010
New Revision: 158255
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158255
Log:
* gcc-interface/gigi.h (standard_datatypes): Add ADT_parent_name_id.
(parent_name_id): New macro.
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: Use it.
* gcc-interface/trans.c (gigi): Initialize it.
(lvalue_required_p) <N_Type_Conversion>: New case.
<N_Qualified_Expression>: Likewise.
<N_Allocator>: Likewise.
* gcc-interface/utils.c (convert): Try to properly upcast tagged types.
Added:
trunk/gcc/testsuite/gnat.dg/derived_type1.adb
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/gcc-interface/decl.c
trunk/gcc/ada/gcc-interface/gigi.h
trunk/gcc/ada/gcc-interface/trans.c
trunk/gcc/ada/gcc-interface/utils.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list