From 311b7cd79558abcdcf6ddf0a590c147247a71771 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sat, 30 Jul 1994 15:06:58 -0400 Subject: [PATCH] (print_operand): Integer CONST_DOUBLE is DImode. From-SVN: r7836 --- gcc/config/ns32k/ns32k.c | 2 +- gcc/config/pa/pa.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/config/ns32k/ns32k.c b/gcc/config/ns32k/ns32k.c index 89cfbc38fc5..56a5834ac28 100644 --- a/gcc/config/ns32k/ns32k.c +++ b/gcc/config/ns32k/ns32k.c @@ -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) { diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index a75b35372fb..94a7ebdd5bc 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -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); -- 2.30.2