diff options
author | Olivier Hainque <hainque@adacore.com> | 2014-06-18 09:00:22 +0000 |
---|---|---|
committer | Olivier Hainque <hainque@gcc.gnu.org> | 2014-06-18 09:00:22 +0000 |
commit | a5852beabcf2e8c5bdfd6143191df3183c0db590 (patch) | |
tree | fff1f2d130096327303f4f0437fbb8ca6589d52a /ylwrap | |
parent | 68f6df73324a1389bce336d55ae94aa58f519997 (diff) | |
download | gcc-a5852beabcf2e8c5bdfd6143191df3183c0db590.zip gcc-a5852beabcf2e8c5bdfd6143191df3183c0db590.tar.gz gcc-a5852beabcf2e8c5bdfd6143191df3183c0db590.tar.bz2 |
improve sloc assignment on bind_expr entry/exit code
2014-06-18 Olivier Hainque <hainque@adacore.com>
improve sloc assignment on bind_expr entry/exit code
gcc/
* tree-core.h (tree_block): Add an "end_locus" field, allowing
memorization of the end of block source location.
* tree.h (BLOCK_SOURCE_END_LOCATION): New accessor.
* gimplify.c (gimplify_bind_expr): Propagate the block start and
end source location info we have on the block entry/exit code we
generate.
testsuite/
* gnat.dg/blocklocs.adb: New test.
From-SVN: r211773
Diffstat (limited to 'ylwrap')
0 files changed, 0 insertions, 0 deletions