From a8dd0e73ba186d6ce398077b7bc69a01ca2ff5f9 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Tue, 22 Nov 1994 17:41:55 -0500 Subject: [PATCH] (gen_lowpart_common): Do nothing if size is greater than twice host wordsize, not just if equal. From-SVN: r8552 --- gcc/emit-rtl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index 270d8d4088b..d6dc980814c 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -651,7 +651,7 @@ gen_lowpart_common (mode, x) either a reasonable negative value or a reasonable unsigned value for this mode. */ - if (GET_MODE_BITSIZE (mode) == 2 * HOST_BITS_PER_WIDE_INT) + if (GET_MODE_BITSIZE (mode) >= 2 * HOST_BITS_PER_WIDE_INT) return x; else if (GET_MODE_BITSIZE (mode) > HOST_BITS_PER_WIDE_INT) return 0; -- 2.30.2