From 2f1a5febd00d63d1a1460fdd9a9004616fbb318e Mon Sep 17 00:00:00 2001 From: rth Date: Mon, 31 Dec 2001 21:33:58 +0000 Subject: [PATCH] * config/alpha/alpha.c (reg_no_subreg_operand): Reject all non-registers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48433 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 28 ++++++++++------------------ gcc/config/alpha/alpha.c | 2 +- 2 files changed, 11 insertions(+), 19 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c3563d61c66..ffe4b3ff8ca 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,18 +1,22 @@ -2001-12-31 Graham Stott +2001-12-31 Richard Henderson - * halfpic.h: Remove foward defs of tree_node and rtx_def. + * cfgrtl.c (delete_insn): Check for not NOTE_INSN_DELETED_LABEL + before decrementing LABEL_NUSES from a jump table. + + * final.c (alter_subreg): Assign REGNO after changing the rtx code. + + * config/alpha/alpha.c (reg_no_subreg_operand): Reject all + non-registers. 2001-12-31 Graham Stott - * toplev.h: Remove forward def of tree_node, rtx_def. + * halfpic.h: Remove foward defs of tree_node and rtx_def. -2001-12-31 Graham Stott + * toplev.h: Remove forward def of tree_node, rtx_def. * except.h: Remove forward def of tree_node, rtx_def and define of tree, rtx. Also remove undefs. -2001-12-30 Graham Stott - * basic-block.h: Remove forward def of tree_node and define of tree. @@ -40,35 +44,23 @@ * c-lex.c: Include tree.h before expr.h -2001-12-31 Graham Stott - * c-typeck.c: Include rtl.h earlier. -2001-12-31 Graham Stott - * tree.h (STRIP_NOPS): Remove extraneous semicolon. (STRIP_SIGN_NOPS): Likewise. (STRIP_TYPE_NOPS): Likewise. (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): Add Parenthesis around macro paramater. -2001-12-31 Graham Stott - * final.c (struct bb_list): Delete. (struct bb_str): Likewise. -2001-12-31 Graham Stott - * cfgloop.c (flow_loop_entry_edges_find): Fix typo. (flow_loop_exit_edges_find): Likewise. -2001-12-31 Graham Stott - * gcse.c (gcse_main): Fix typos. (alloc_gcse_mem): Likewise. -2001-12-31 Graham Stott - * function.h: Remove undefs for rtx and tree. 2001-12-30 Richard Henderson diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c index 815c5a8bc0e..f3295f0becd 100644 --- a/gcc/config/alpha/alpha.c +++ b/gcc/config/alpha/alpha.c @@ -1330,7 +1330,7 @@ reg_no_subreg_operand (op, mode) register rtx op; enum machine_mode mode; { - if (GET_CODE (op) == SUBREG) + if (GET_CODE (op) != REG) return 0; return register_operand (op, mode); } -- 2.11.4.GIT