diff options
author | Jakub Jelinek <jakub@gcc.gnu.org> | 2013-02-01 17:54:14 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2013-02-01 17:54:14 +0100 |
commit | ddd84654d90b8056c5aa1a5f164cb685db327aa0 (patch) | |
tree | 4264a1a3f1368ddcd45a42f2892206f8d366b30c /libgcc | |
parent | ff2a9d88b4748f1ccbf2e8e368fa499fa861c9c7 (diff) | |
download | gcc-ddd84654d90b8056c5aa1a5f164cb685db327aa0.zip gcc-ddd84654d90b8056c5aa1a5f164cb685db327aa0.tar.gz gcc-ddd84654d90b8056c5aa1a5f164cb685db327aa0.tar.bz2 |
re PR debug/54793 (the location of a formal_parameter is not started from a function entry with -mfentry)
PR debug/54793
* final.c (need_profile_function): New variable.
(final_start_function): Drop ATTRIBUTE_UNUSED from first argument.
If first of NOTE_INSN_BASIC_BLOCK or NOTE_INSN_FUNCTION_BEG
is only preceeded by NOTE_INSN_VAR_LOCATION or NOTE_INSN_DELETED
notes, targetm.asm_out.function_prologue doesn't emit anything,
HAVE_prologue and profiler should be emitted before prologue,
set need_profile_function instead of emitting it.
(final_scan_insn): If need_profile_function, emit
profile_function on the first NOTE_INSN_BASIC_BLOCK or
NOTE_INSN_FUNCTION_BEG note.
From-SVN: r195669
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions