OSDN Git Service

* gcc-interface/trans.c (Identifier_to_gnu): Move block retrieving the
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Feb 2012 08:50:11 +0000 (08:50 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Feb 2012 08:50:11 +0000 (08:50 +0000)
commit09188bfebeb3d7752346f46ed87333a5a64abdda
tree0a90fcccf5d321336565980b384bb91857c388f5
parent47219e5b7d6dc9b041541e9feb0b353ca1ffdde5
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184259 138bc75d-0d04-0410-961f-82ee72b054a4
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]