From 1f3ad3f0f6f47e9943ea7d35bee2d622ae2b49e7 Mon Sep 17 00:00:00 2001 From: "J\"orn Rennecke" Date: Thu, 5 Mar 2009 01:21:13 +0000 Subject: * cse.c (cse_insn): Fix loop to stop at VOIDmode. From-SVN: r144634 --- gcc/cse.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gcc/cse.c') diff --git a/gcc/cse.c b/gcc/cse.c index 91cb108..bab0908 100644 --- a/gcc/cse.c +++ b/gcc/cse.c @@ -4483,7 +4483,8 @@ cse_insn (rtx insn) enum machine_mode wider_mode; for (wider_mode = GET_MODE_WIDER_MODE (mode); - GET_MODE_BITSIZE (wider_mode) <= BITS_PER_WORD + wider_mode != VOIDmode + && GET_MODE_BITSIZE (wider_mode) <= BITS_PER_WORD && src_related == 0; wider_mode = GET_MODE_WIDER_MODE (wider_mode)) { -- cgit v1.1