OSDN Git Service

* decl.c (gnat_to_gnu_entity) <Object>: Simplify the condition under
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 8 Sep 2007 10:30:06 +0000 (10:30 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 8 Sep 2007 10:30:06 +0000 (10:30 +0000)
commit4ec180c2cf5f1c95a8206063f57badd2aceffb1c
treee298e197d6ac93776440288b70e8a3888ecd21df
parentc4b95acc27fb6c2c59bd66fbf4d5d34a74ecb865
* decl.c (gnat_to_gnu_entity) <Object>: Simplify the condition under
which a constant renaming is treated as a normal object declaration.
* trans.c (lvalue_required_p) <N_Slice>: New case, extracted from
the N_Indexed_Component case.
<N_Indexed_Component>: Fall through to above case.
<N_Object_Renaming_Declaration>: Return true for all composite types.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128268 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/decl.c
gcc/ada/trans.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/renaming3.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/renaming4.ads [new file with mode: 0644]