This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r168455 - in /trunk/gcc/ada: ChangeLog gcc-inte...
- From: ebotcazou at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 04 Jan 2011 09:30:07 -0000
- Subject: r168455 - in /trunk/gcc/ada: ChangeLog gcc-inte...
Author: ebotcazou
Date: Tue Jan 4 09:30:06 2011
New Revision: 168455
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168455
Log:
* gcc-interface/trans.c (BLOCK_SOURCE_END_LOCATION): Provide default.
(set_end_locus_from_node): New function.
(Subprogram_Body_to_gnu): Use it to mark both the inner BIND_EXPR we
make and the function end_locus.
(Compilation_Unit_to_gnu): Call it instead of a straight Sloc_to_locus
for the elaboration subprogram.
(set_gnu_expr_location_from_node) <default case>: Use it to attempt to
set the end_locus of the expression as well.
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/gcc-interface/trans.c