decl.c (gnat_to_gnu_param): Add comment about double reference and DECL_POINTS_TO_REA...
authorEric Botcazou <ebotcazou@adacore.com>
Sun, 18 Dec 2011 14:41:00 +0000 (14:41 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sun, 18 Dec 2011 14:41:00 +0000 (14:41 +0000)
commit2ad8d9105d0f772c46c12d65c799ed3938285346
tree0a142fcd6ce856dec9298f10e5d77f444c652cd3
parent7cb62ef1ba8272fa9706c9110289a1d3ced36d65
decl.c (gnat_to_gnu_param): Add comment about double reference and DECL_POINTS_TO_READONLY_P.

* gcc-interface/decl.c (gnat_to_gnu_param): Add comment about double
reference and DECL_POINTS_TO_READONLY_P.
* gcc-interface/trans.c (Identifier_to_gnu) <by_ref>: Always set the
TREE_READONLY flag on the first dereference of a double dereference.

From-SVN: r182460
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/ada/gcc-interface/trans.c