diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/loop.c | 7 |
2 files changed, 10 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index af284aa..7b12c26 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +1999-11-26 Bernd Schmidt <bernds@cygnus.co.uk> + + * loop.c (try_copy_prop): Avoid GNU C extension. + 1999-11-25 Mark Mitchell <mark@codesourcery.com> * except.c (init_eh_for_function): But still zero @@ -9961,7 +9961,12 @@ try_copy_prop (scan_start, loop_top, end, replacement, regno) insn = next_insn_in_loop (insn, scan_start, end, loop_top)) { rtx set; - rtx array[3] = { regno_reg_rtx[regno], replacement, insn }; + rtx array[3]; + + array[0] = regno_reg_rtx[regno]; + array[1] = replacement; + array[2] = insn; + if (GET_RTX_CLASS (GET_CODE (insn)) != 'i') continue; set = single_set (insn); |