https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87362

--- Comment #19 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Mon Oct 29 14:13:56 2018
New Revision: 265590

URL: https://gcc.gnu.org/viewcvs?rev=265590&root=gcc&view=rev
Log:
2018-10-29  Richard Biener  <rguent...@suse.de>

        Backport from mainline
        2018-09-26  Richard Biener  <rguent...@suse.de>

        PR debug/87428
        PR debug/87362
        * tree-inline.c (expand_call_inline): When the location
        of the call is UNKNOWN_LOCATION use DECL_SOURCE_LOCATION
        or BUILTINS_LOCATION for the BLOCK_SOURCE_LOCATION of
        the inserted BLOCK to make inlined_function_outer_scope_p
        recognize it.
        * dwarf2out.c (add_call_src_coords_attributes): Do not add
        coords for reserved locations.

Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/dwarf2out.c
    branches/gcc-8-branch/gcc/tree-inline.c

Reply via email to