From ab8ab9d05fd1ceaada3bfd6e345bd163319eb932 Mon Sep 17 00:00:00 2001 From: Steve Chamberlain Date: Thu, 4 Mar 1993 22:09:39 +0000 Subject: [PATCH] (immed_double_const): Cope with MODE_PARTIAL_INT. (output_constant_pool): Likewise. From-SVN: r3650 --- gcc/varasm.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- 2.30.2