summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerrill <merrill@138bc75d-0d04-0410-961f-82ee72b054a4>1997-05-21 06:04:44 +0000
committermerrill <merrill@138bc75d-0d04-0410-961f-82ee72b054a4>1997-05-21 06:04:44 +0000
commit8ab7f8499d2672430aff34a9fd574263d57841d0 (patch)
tree5e4a727f7a6eaf8964e1ec37db23026611d3a699
parent0a618bb80ba623e19a5995e11015ccfca216bd91 (diff)
downloadgcc-8ab7f8499d2672430aff34a9fd574263d57841d0.tar.gz
x
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14108 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/dwarf2out.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index ed7e2a0e341..941890eb27c 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -623,6 +623,11 @@ dwarf2out_def_cfa (label, reg, offset)
unsigned long old_reg;
long old_offset;
+ cfa_reg = reg;
+ cfa_offset = offset;
+ if (cfa_store_reg == reg)
+ cfa_store_offset = offset;
+
reg = DWARF_FRAME_REGNUM (reg);
lookup_cfa (&old_reg, &old_offset);
@@ -653,11 +658,6 @@ dwarf2out_def_cfa (label, reg, offset)
}
add_fde_cfi (label, cfi);
-
- cfa_reg = reg;
- cfa_offset = offset;
- if (cfa_store_reg == reg)
- cfa_store_offset = offset;
}
/* Add the CFI for saving a register. REG is the CFA column number.