summaryrefslogtreecommitdiff
path: root/gcc/rtl.c
diff options
context:
space:
mode:
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++)