summaryrefslogtreecommitdiff
path: root/gcc/rtl.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2000-03-17 22:40:45 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2000-03-17 22:40:45 +0000
commit60ecc450bdb562faecd8b47d5152db3e61d0ba1a (patch)
tree720b4c50b7ea074422601de35cfc7e48ed679e49 /gcc/rtl.c
parent03df82f0be625e9dd74727cbe4e8f50b71069384 (diff)
downloadgcc-60ecc450bdb562faecd8b47d5152db3e61d0ba1a.tar.gz
Sibling call optimizations.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32612 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtl.c')
-rw-r--r--gcc/rtl.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/gcc/rtl.c b/gcc/rtl.c
index 7f7906e4f7d..a8b1a9de63a 100644
--- a/gcc/rtl.c
+++ b/gcc/rtl.c
@@ -406,14 +406,12 @@ copy_rtx (orig)
walks over the RTL. */
copy->used = 0;
- /* We do not copy JUMP, CALL, or FRAME_RELATED for INSNs. */
+ /* We do not copy FRAME_RELATED for INSNs. */
if (GET_RTX_CLASS (code) == 'i')
- {
- copy->jump = 0;
- copy->call = 0;
- copy->frame_related = 0;
- }
-
+ copy->frame_related = 0;
+ copy->jump = orig->jump;
+ copy->call = orig->call;
+
format_ptr = GET_RTX_FORMAT (GET_CODE (copy));
for (i = 0; i < GET_RTX_LENGTH (GET_CODE (copy)); i++)