diff options
author | J"orn Rennecke <joern.rennecke@arc.com> | 2009-03-05 01:21:13 +0000 |
---|---|---|
committer | Joern Rennecke <amylaar@gcc.gnu.org> | 2009-03-05 01:21:13 +0000 |
commit | 1f3ad3f0f6f47e9943ea7d35bee2d622ae2b49e7 (patch) | |
tree | bb9cb4ec720393e2c8d721234aaa76e6125c2ba4 /gcc | |
parent | da6ccc178a4514df1b66d7dc8cd33a044654c512 (diff) | |
download | gcc-1f3ad3f0f6f47e9943ea7d35bee2d622ae2b49e7.zip gcc-1f3ad3f0f6f47e9943ea7d35bee2d622ae2b49e7.tar.gz gcc-1f3ad3f0f6f47e9943ea7d35bee2d622ae2b49e7.tar.bz2 |
* cse.c (cse_insn): Fix loop to stop at VOIDmode.
From-SVN: r144634
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/cse.c | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 533943e..2d67288 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,7 @@ 2009-03-05 J"orn Rennecke <joern.rennecke@arc.com> + * cse.c (cse_insn): Fix loop to stop at VOIDmode. + * combine.c (gen_lowpart_for_combine): Use omode when generating clobber. @@ -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)) { |