ada-tree.h (TREE_THIS_NOTRAP): Redefine.
authorEric Botcazou <ebotcazou@adacore.com>
Sun, 25 Sep 2011 20:40:10 +0000 (20:40 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sun, 25 Sep 2011 20:40:10 +0000 (20:40 +0000)
commitad1d36bafd1f18e33bd03169af788c6467f09c4d
tree9f6bbde3c9bf15f76ca025d853cd82821eb0fffd
parent6162cec0d9ca47c71ab3b0effe544d53ce27e3c8
ada-tree.h (TREE_THIS_NOTRAP): Redefine.

* gcc-interface/ada-tree.h (TREE_THIS_NOTRAP): Redefine.
* gcc-interface/trans.c (Identifier_to_gnu): Factor out common code in
the by-ref case.  Do not set TREE_READONLY on a renamed object.  Set
TREE_THIS_NOTRAP on UNCONSTRAINED_ARRAY_REF nodes.
(Attribute_to_gnu) <Attr_Length>: Expand the use of the parameter cache
to the indirect case.
* gcc-interface/utils.c (convert) <UNCONSTRAINED_ARRAY_REF>: Preserve
the TREE_THIS_NOTRAP flag.

From-SVN: r179171
gcc/ada/ChangeLog
gcc/ada/gcc-interface/ada-tree.h
gcc/ada/gcc-interface/trans.c
gcc/ada/gcc-interface/utils.c