]> gcc.gnu.org Git - gcc.git/commit
ada-tree.h: (DECL_RENAMING_GLOBAL_P): New predicate.
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 18 Mar 2005 11:47:18 +0000 (12:47 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Fri, 18 Mar 2005 11:47:18 +0000 (12:47 +0100)
commit7e1957a40d722beba8d9d002c7d15b01a18e7736
tree65b5f248d06750565cc817641650223fd0f8922a
parente602394c38b7ad5053769e2ff03550fd5b5d412a
ada-tree.h: (DECL_RENAMING_GLOBAL_P): New predicate.

2005-03-17  Eric Botcazou  <ebotcazou@adacore.com>

* ada-tree.h: (DECL_RENAMING_GLOBAL_P): New predicate.
(DECL_RENAMED_OBJECT): New accessor macro.
(SET_DECL_RENAMED_OBJECT): New setter macro.

* decl.c (gnat_to_gnu_entity) <E_Variable>: Stabilize the renamed
object in all cases.  Attach the renamed object to the VAR_DECL.
(gnat_to_gnu_field): Do not lift the record wrapper if the size of the
field is not prescribed.

* misc.c (gnat_handle_option): Handle -gnatO separately.
(gnat_print_decl) <VAR_DECL>: New case.
Print the DECL_RENAMED_OBJECT node.

* lang.opt:  Declare separate -gnatO option.

* trans.c (tree_transform) <N_Identifier>: If the object is a renaming
pointer, replace it with the renamed object.
<N_Validate_Unchecked_Conversion>: Warn for a conversion to a fat
pointer type if the source is not a fat pointer type whose underlying
array has the same non-zero alias set as that of the destination array.

From-SVN: r96660
gcc/ada/ada-tree.h
gcc/ada/decl.c
gcc/ada/lang.opt
gcc/ada/misc.c
gcc/ada/trans.c
This page took 0.062507 seconds and 5 git commands to generate.