trans.c (Identifier_to_gnu): Move block retrieving the type of the result to the...
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 15 Feb 2012 08:50:11 +0000 (08:50 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 15 Feb 2012 08:50:11 +0000 (08:50 +0000)
commit1c4ae4e58752c06aaa99bae702aa0ae2e2123548
tree0a90fcccf5d321336565980b384bb91857c388f5
parent0029bafd89b2bd403d96a053acefc2d341b85788
trans.c (Identifier_to_gnu): Move block retrieving the type of the result to the end and execute it for a...

* 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.

From-SVN: r184259
gcc/ada/ChangeLog
gcc/ada/gcc-interface/trans.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/discr35.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/discr35.ads [new file with mode: 0644]