diff options
author | Jan Hubicka <jh@suse.cz> | 2001-06-08 21:52:06 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2001-06-08 19:52:06 +0000 |
commit | 932f084749dd624f549cddd5e07eb38727c59faf (patch) | |
tree | b07fd69ba2ffb8acd24dffe5735fd98425a31181 /gcc/final.c | |
parent | cd3bb27790771150d4ab39e5b3b0094bafe0cd19 (diff) | |
download | gcc-932f084749dd624f549cddd5e07eb38727c59faf.zip gcc-932f084749dd624f549cddd5e07eb38727c59faf.tar.gz gcc-932f084749dd624f549cddd5e07eb38727c59faf.tar.bz2 |
function.c (diddle_return_value): Kill code to determine return value before expand_function_end.
* function.c (diddle_return_value): Kill code to determine
return value before expand_function_end.
(expand_function_end): Delay call to clobber_return_register
after fucntion return value is computed.
Re-install temporary reverted patch:
* toplev.c (rest_of_compilation): Call split_all_insns
before reg-stack and shorten-branches. Do shorten-branches
after reg-stack.
* final.c (shorten_branches): Remove insn splitting code.
From-SVN: r43044
Diffstat (limited to 'gcc/final.c')
-rw-r--r-- | gcc/final.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/gcc/final.c b/gcc/final.c index 7b36b1b..a3fe70d 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -960,26 +960,6 @@ shorten_branches (first) int uid; rtx align_tab[MAX_CODE_ALIGN]; - /* In order to make sure that all instructions have valid length info, - we must split them before we compute the address/length info. */ - - for (insn = NEXT_INSN (first); insn; insn = NEXT_INSN (insn)) - if (INSN_P (insn)) - { - rtx old = insn; - /* Don't split the insn if it has been deleted. */ - if (! INSN_DELETED_P (old)) - insn = try_split (PATTERN (old), old, 1); - /* When not optimizing, the old insn will be still left around - with only the 'deleted' bit set. Transform it into a note - to avoid confusion of subsequent processing. */ - if (INSN_DELETED_P (old)) - { - PUT_CODE (old, NOTE); - NOTE_LINE_NUMBER (old) = NOTE_INSN_DELETED; - NOTE_SOURCE_FILE (old) = 0; - } - } #endif /* We must do some computations even when not actually shortening, in |