OSDN Git Service

* gcc-interface/decl.c (gnat_to_gnu_param): Add comment about double
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 18 Dec 2011 14:41:00 +0000 (14:41 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 18 Dec 2011 14:41:00 +0000 (14:41 +0000)
commit35f467653238c6a37c6a3ef117ce7a7743d6aa1e
tree0a142fcd6ce856dec9298f10e5d77f444c652cd3
parent9d5fd7d0aa0d916132ad0bad4d4e3e2ee44ea321
* 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.

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