diff options
author | Olivier Hainque <hainque@adacore.com> | 2011-01-04 09:30:06 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2011-01-04 09:30:06 +0000 |
commit | 2a02d0907c0b500018ba900e93239e1b03281c67 (patch) | |
tree | fe02110a5e9b80b984e5374d408f68b56fd163ec /gcc/ada/gcc-interface/decl.c | |
parent | 89f5e978044c3086e99418ea6855bd1faacba2a0 (diff) | |
download | gcc-2a02d0907c0b500018ba900e93239e1b03281c67.zip gcc-2a02d0907c0b500018ba900e93239e1b03281c67.tar.gz gcc-2a02d0907c0b500018ba900e93239e1b03281c67.tar.bz2 |
trans.c (BLOCK_SOURCE_END_LOCATION): Provide default.
* 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.
Co-Authored-By: Eric Botcazou <ebotcazou@adacore.com>
From-SVN: r168455
Diffstat (limited to 'gcc/ada/gcc-interface/decl.c')
0 files changed, 0 insertions, 0 deletions