projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a759633
)
(subst_stack_regs_pat): Set src_note explicitly, instead
author
Jim Wilson
<wilson@gcc.gnu.org>
Mon, 30 Dec 1996 19:55:54 +0000
(11:55 -0800)
committer
Jim Wilson
<wilson@gcc.gnu.org>
Mon, 30 Dec 1996 19:55:54 +0000
(11:55 -0800)
of using invalid aggregate initialization.
From-SVN: r13345
gcc/reg-stack.c
patch
|
blob
|
history
diff --git
a/gcc/reg-stack.c
b/gcc/reg-stack.c
index
ea72b3a
..
8551e65
100644
(file)
--- a/
gcc/reg-stack.c
+++ b/
gcc/reg-stack.c
@@
-2363,9
+2363,13
@@
subst_stack_regs_pat (insn, regstack, pat)
src2_note = find_regno_note (insn, REG_DEAD, REGNO (*src2));
{
- rtx src_note [
] = {0, src1_note, src2_note}
;
+ rtx src_note [
3]
;
int i;
+ src_note[0] = 0;
+ src_note[1] = src1_note;
+ src_note[2] = src2_note;
+
if (STACK_REG_P (*src1))
replace_reg (src1, get_hard_regnum (regstack, *src1));
if (STACK_REG_P (*src2))