tree.h (BLOCK_ORIGIN): New.
authorRichard Biener <rguenther@suse.de>
Fri, 28 Sep 2018 11:33:29 +0000 (11:33 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 28 Sep 2018 11:33:29 +0000 (11:33 +0000)
commitdc16b00717f72aae2d93865a8007ff220b6f022f
treeccfb814b58f42d2c18830a1f2b72031aeede8e48
parent2bd4ca7ad508ec9b94f8c3442a6e39d5276d7915
tree.h (BLOCK_ORIGIN): New.

2018-09-28  Richard Biener  <rguenther@suse.de>

* tree.h (BLOCK_ORIGIN): New.
* omp-expand.c (grid_expand_target_grid_body): Assign
BLOCK_ORIGIN to BLOCK_ABSTRACT_ORIGIN.
* tree-inline.c (remap_block): Likewise.

* auto-profile.c (get_function_decl_from_block): Simplify
by eliding the BLOCK_ABSTRACT_ORIGIN chasing.
* langhooks.c (lhd_print_error_function): Likewise.
* optinfo-emit-json.cc (optrecord_json_writer::inlining_chain_to):
Likewise.
* tree-ssa-live.c (remove_unused_scope_block_p): Likewise.
* tree.c (block_nonartificial_location): Likewise.
(block_ultimate_origin): Likewise.
* tree-pretty-print.c (percent_K_format): Likewise.  Remove
no longer needed LTO case.

cp/
* error.c (cp_print_error_function): Simplify by eliding
the BLOCK_ABSTRACT_ORIGIN chasing.

From-SVN: r264689
12 files changed:
gcc/ChangeLog
gcc/auto-profile.c
gcc/cp/ChangeLog
gcc/cp/error.c
gcc/langhooks.c
gcc/omp-expand.c
gcc/optinfo-emit-json.cc
gcc/tree-inline.c
gcc/tree-pretty-print.c
gcc/tree-ssa-live.c
gcc/tree.c
gcc/tree.h