aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.c
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>2000-03-17 14:40:45 -0800
committerRichard Henderson <rth@gcc.gnu.org>2000-03-17 14:40:45 -0800
commit0a1c58a25ab5df1a3e4596024774641ebae8be2a (patch)
tree720b4c50b7ea074422601de35cfc7e48ed679e49 /gcc/rtl.c
parentf1fd8077fd1260362aa134deefc197948da270f8 (diff)
downloadgcc-0a1c58a25ab5df1a3e4596024774641ebae8be2a.zip
gcc-0a1c58a25ab5df1a3e4596024774641ebae8be2a.tar.gz
gcc-0a1c58a25ab5df1a3e4596024774641ebae8be2a.tar.bz2
Sibling call optimizations.
Co-Authored-By: Richard Henderson <rth@cygnus.com> From-SVN: r32612
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 7f7906e..a8b1a9d 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++)