r189667 - in /branches/gcc-4_7-branch/gcc: ada/...

ebotcazou@gcc.gnu.org ebotcazou@gcc.gnu.org
Thu Jul 19 15:46:00 GMT 2012


Author: ebotcazou
Date: Thu Jul 19 15:46:06 2012
New Revision: 189667

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189667
Log:
	* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: Do not
	look up the REP part of the base type in advance.  Deal with that of
	the variant types.
	(get_rep_part): Be prepared for record types with fields.

Added:
    branches/gcc-4_7-branch/gcc/testsuite/gnat.dg/discr38.adb
      - copied unchanged from r189666, trunk/gcc/testsuite/gnat.dg/discr38.adb
Modified:
    branches/gcc-4_7-branch/gcc/ada/ChangeLog
    branches/gcc-4_7-branch/gcc/ada/gcc-interface/decl.c
    branches/gcc-4_7-branch/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list