alpha.c (reg_no_subreg_operand): Reject all non-registers.
authorRichard Henderson <rth@redhat.com>
Mon, 31 Dec 2001 21:33:58 +0000 (13:33 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 31 Dec 2001 21:33:58 +0000 (13:33 -0800)
        * config/alpha/alpha.c (reg_no_subreg_operand): Reject all
        non-registers.

From-SVN: r48433

gcc/ChangeLog
gcc/config/alpha/alpha.c

index c3563d61c66fb014f0eeb877943c15c90de1cb49..ffe4b3ff8ca40f65a7e0dcb01ba82c8f0420a069 100644 (file)
@@ -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.
 
 
        * 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>
index 815c5a8bc0e2b3f256840c86b29ddca5058769be..f3295f0becdc9d84ace04b46d69ef5cb1a507872 100644 (file)
@@ -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);
 }