* gcc-interface/decl.c (gnat_to_gnu_entity): Invoke global_bindings_p
commit6530efb28fea90957698919a9b99a0cc78461a75
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Jul 2016 10:32:43 +0000 (5 10:32 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Jul 2016 10:32:43 +0000 (5 10:32 +0000)
treec3d49018b89d5d29b8ceb1ac06d77899941b73ac
parentb84c1ddf1bbe0cbd38205a0f7ac4fe47e30b3187
* gcc-interface/decl.c (gnat_to_gnu_entity): Invoke global_bindings_p
last when possible.  Do not call elaborate_expression_2 on offsets in
local record types and avoid useless processing for constant offsets.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@238001 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c