r211773 - in /trunk: ChangeLog gcc/gimplify.c g...

hainque@gcc.gnu.org hainque@gcc.gnu.org
Wed Jun 18 09:00:00 GMT 2014


Author: hainque
Date: Wed Jun 18 09:00:22 2014
New Revision: 211773

URL: https://gcc.gnu.org/viewcvs?rev=211773&root=gcc&view=rev
Log:
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.


Added:
    trunk/gcc/testsuite/gnat.dg/blocklocs.adb
Modified:
    trunk/ChangeLog
    trunk/gcc/gimplify.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-core.h
    trunk/gcc/tree.h



More information about the Gcc-cvs mailing list