* tree-inline.c (remap_gimple_stmt): Force input_location on the new
commit42cf43fc3693b1bab9015598906adc4f72947397
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Jun 2018 06:21:13 +0000 (28 06:21 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Jun 2018 06:21:13 +0000 (28 06:21 +0000)
tree48aa3b3611869946b4547113caed9fe78e209832
parent0ac8fffb7eb07244e13efd082b92c849a0c3486a
* tree-inline.c (remap_gimple_stmt): Force input_location on the new
statement if id->reset_location is true.
(copy_edges_for_bb): Do not set goto_locus on the new edges if
id->reset_location is true.
(copy_phis_for_bb): Force input_location on the arguments if
id->reset_location is true.
(expand_call_inline): Set id->reset_location if DECL_IGNORED_P
is set on the function to be inlined.
* tree-inline.h (struct copy_body_data): Move remapping_type_depth and
prevent_decl_creation_for_types fields up and add reset_location field.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262207 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/debug15.adb [new file with mode: 0644]
gcc/tree-inline.c
gcc/tree-inline.h