aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-12-31 13:33:58 -0800
committerRichard Henderson <rth@gcc.gnu.org>2001-12-31 13:33:58 -0800
commitf6598df3a0e50d6eb5aae45fbc67191a0ec071a8 (patch)
tree117ed9791dd2b3543fc48f82d7279b8307586aef /gcc
parent7687c5b8c6de5dbeb4b14f9957783673daf2595e (diff)
downloadgcc-f6598df3a0e50d6eb5aae45fbc67191a0ec071a8.zip
gcc-f6598df3a0e50d6eb5aae45fbc67191a0ec071a8.tar.gz
gcc-f6598df3a0e50d6eb5aae45fbc67191a0ec071a8.tar.bz2
alpha.c (reg_no_subreg_operand): Reject all non-registers.
* config/alpha/alpha.c (reg_no_subreg_operand): Reject all non-registers. From-SVN: r48433
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog28
-rw-r--r--gcc/config/alpha/alpha.c2
2 files changed, 11 insertions, 19 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c3563d6..ffe4b3f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,18 +1,22 @@
-2001-12-31 Graham Stott <grahams@redhat.com>
+2001-12-31 Richard Henderson <rth@redhat.com>
- * 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 <grahams@redhat.com>
- * 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 <grahams@redhat.com>
+ * 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 <grahams@redhat.com>
-
* 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 <grahams@redhat.com>
-
* c-typeck.c: Include rtl.h earlier.
-2001-12-31 Graham Stott <grahams@redhat.com>
-
* 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 <grahams@redhat.com>
-
* final.c (struct bb_list): Delete.
(struct bb_str): Likewise.
-2001-12-31 Graham Stott <grahams@redhat.com>
-
* cfgloop.c (flow_loop_entry_edges_find): Fix typo.
(flow_loop_exit_edges_find): Likewise.
-2001-12-31 Graham Stott <grahams@redhat.com>
-
* gcse.c (gcse_main): Fix typos.
(alloc_gcse_mem): Likewise.
-2001-12-31 Graham Stott <grahams@redhat.com>
-
* function.h: Remove undefs for rtx and tree.
2001-12-30 Richard Henderson <rth@redhat.com>
diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c
index 815c5a8..f3295f0 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);
}