From 23e7786b280410a6cb8070ecdc3f7c250ba7de58 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Thu, 22 May 1997 15:49:33 -0600 Subject: [PATCH] reload1.c (reload_cse_record_set): Ignore values for SREG if their mode is narrower than DEST_MODE. * reload1.c (reload_cse_record_set): Ignore values for SREG if their mode is narrower than DEST_MODE. From-SVN: r14111 --- gcc/reload1.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gcc/reload1.c b/gcc/reload1.c index 62ac6d71d1f..80cb8c3933f 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -8305,6 +8305,9 @@ reload_cse_record_set (set, body) continue; if (dest_mode == GET_MODE (XEXP (x, 0))) tmp = XEXP (x, 0); + else if (GET_MODE_BITSIZE (dest_mode) + > GET_MODE_BITSIZE (GET_MODE (XEXP (x, 0)))) + continue; else tmp = gen_lowpart_common (dest_mode, XEXP (x, 0)); if (tmp)