This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r184259 - in /trunk/gcc: ada/ChangeLog ada/gcc-...
- From: ebotcazou at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 15 Feb 2012 08:50:12 -0000
- Subject: r184259 - in /trunk/gcc: ada/ChangeLog ada/gcc-...
Author: ebotcazou
Date: Wed Feb 15 08:50:11 2012
New Revision: 184259
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184259
Log:
* gcc-interface/trans.c (Identifier_to_gnu): Move block retrieving the
type of the result to the end and execute it for a deferred constant of
a discriminated type whose full view can be elaborated statically.
Added:
trunk/gcc/testsuite/gnat.dg/discr35.adb
trunk/gcc/testsuite/gnat.dg/discr35.ads
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/gcc-interface/trans.c
trunk/gcc/testsuite/ChangeLog