diff options
author | Richard Biener <rguenther@suse.de> | 2018-10-02 10:07:29 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2018-10-02 10:07:29 +0000 |
commit | cd6ae11750ba45a574cb1265aeb6ca08d30c2d7c (patch) | |
tree | 7dd4bee5bc2bf1d40257952807de527fe1bf71a3 /gcc/final.c | |
parent | 491ec3dfa91309cf6d1ece14c91217bb54ba5602 (diff) | |
download | gcc-cd6ae11750ba45a574cb1265aeb6ca08d30c2d7c.zip gcc-cd6ae11750ba45a574cb1265aeb6ca08d30c2d7c.tar.gz gcc-cd6ae11750ba45a574cb1265aeb6ca08d30c2d7c.tar.bz2 |
tree-inline.c (expand_call_inline): Use the location of the callee declaration for the inline-entry marker.
2018-10-02 Richard Biener <rguenther@suse.de>
* tree-inline.c (expand_call_inline): Use the location of
the callee declaration for the inline-entry marker.
* final.c (notice_source_line): Remove special-casing of
NOTE_INSN_INLINE_ENTRY.
From-SVN: r264778
Diffstat (limited to 'gcc/final.c')
-rw-r--r-- | gcc/final.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/gcc/final.c b/gcc/final.c index 6943c07..6e61f1e 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -3224,17 +3224,6 @@ notice_source_line (rtx_insn *insn, bool *is_stmt) if (NOTE_MARKER_P (insn)) { location_t loc = NOTE_MARKER_LOCATION (insn); - /* The inline entry markers (gimple, insn, note) carry the - location of the call, because that's what we want to carry - during compilation, but the location we want to output in - debug information for the inline entry point is the location - of the function itself. */ - if (NOTE_KIND (insn) == NOTE_INSN_INLINE_ENTRY) - { - tree block = LOCATION_BLOCK (loc); - tree fn = block_ultimate_origin (block); - loc = DECL_SOURCE_LOCATION (fn); - } expanded_location xloc = expand_location (loc); if (xloc.line == 0) { |