(print_operand): Integer CONST_DOUBLE is DImode.
authorRichard Kenner <kenner@gcc.gnu.org>
Sat, 30 Jul 1994 19:06:58 +0000 (15:06 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Sat, 30 Jul 1994 19:06:58 +0000 (15:06 -0400)
From-SVN: r7836

gcc/config/ns32k/ns32k.c
gcc/config/pa/pa.c

index 89cfbc38fc5125fd802426147fd5030ae54f5aaf..56a5834ac28ada9bdbdee546b4d47ee5032161d7 100644 (file)
@@ -467,7 +467,7 @@ print_operand (file, x, code)
 #endif
        output_address (XEXP (x, 0));
     }
-  else if (GET_CODE (x) == CONST_DOUBLE && GET_MODE (x) != DImode)
+  else if (GET_CODE (x) == CONST_DOUBLE && GET_MODE (x) != VOIDmode)
     {
       if (GET_MODE (x) == DFmode)
        { 
index a75b35372fb5b5443f5d8737712c501b8c8e2f2d..94a7ebdd5bc61bc9e2941fa1233d46536136003f 100644 (file)
@@ -1,5 +1,5 @@
 /* Subroutines for insn-output.c for HPPA.
-   Copyright (C) 1992, 1993 Free Software Foundation, Inc.
+   Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
    Contributed by Tim Moore (moore@cs.utah.edu), based on sparc.c
 
 This file is part of GNU CC.
@@ -2878,7 +2878,7 @@ print_operand (file, x, code)
       else
        fprintf (file, "0x%x", u1.i);
     }
-  else if (GET_CODE (x) == CONST_DOUBLE && GET_MODE (x) != DImode)
+  else if (GET_CODE (x) == CONST_DOUBLE && GET_MODE (x) != VOIDmode)
     {
       union { double d; int i[2]; } u;
       u.i[0] = XINT (x, 0); u.i[1] = XINT (x, 1);