r135819 - in /trunk/gcc/ada: ChangeLog decl.c g...
ebotcazou@gcc.gnu.org
ebotcazou@gcc.gnu.org
Fri May 23 16:13:00 GMT 2008
Author: ebotcazou
Date: Fri May 23 16:13:49 2008
New Revision: 135819
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=135819
Log:
* gigi.h (mark_visited): Declare.
* decl.c (gnat_to_gnu_entity): Use mark_visited instead of marking
only the topmost node of expressions.
(elaborate_expression_1): Look deeper for read-only variable.
* trans.c (add_decl_expr): Use mark_visited instead of marking by hand.
(mark_visited): Move logic to mark_visited_r. Invoke walk_tree.
(mark_visited_r): New function.
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/decl.c
trunk/gcc/ada/gigi.h
trunk/gcc/ada/trans.c
More information about the Gcc-cvs
mailing list