From: Steve Chamberlain Date: Thu, 4 Mar 1993 22:09:39 +0000 (+0000) Subject: (immed_double_const): Cope with MODE_PARTIAL_INT. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ab8ab9d05fd1ceaada3bfd6e345bd163319eb932;p=gcc.git (immed_double_const): Cope with MODE_PARTIAL_INT. (output_constant_pool): Likewise. From-SVN: r3650 --- diff --git a/gcc/varasm.c b/gcc/varasm.c index ec653fb219a..a8e3cc3774d 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -1280,7 +1280,8 @@ immed_double_const (i0, i1, mode) register rtx r; int in_current_obstack; - if (GET_MODE_CLASS (mode) == MODE_INT) + if (GET_MODE_CLASS (mode) == MODE_INT + || GET_MODE_CLASS (mode) == MODE_PARTIAL_INT) { /* We clear out all bits that don't belong in MODE, unless they and our sign bit are all one. So we get either a reasonable negative value @@ -2569,6 +2570,7 @@ output_constant_pool (fnname, fndecl) break; case MODE_INT: + case MODE_PARTIAL_INT: assemble_integer (x, GET_MODE_SIZE (pool->mode), 1); break;