From: David S. Miller Date: Thu, 26 Sep 2002 10:20:03 +0000 (-0700) Subject: re PR target/7842 ([REGRESSION] sparc code gen bug) X-Git-Tag: releases/gcc-3.2.1~246 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb2af28ec880a7d2ecdda4c505941e8e622684d1;p=thirdparty%2Fgcc.git re PR target/7842 ([REGRESSION] sparc code gen bug) 2002-09-25 David S. Miller PR target/7842 * config/sparc/sparc.c (set_extends): SImode ASHIFT does not extend. From-SVN: r57537 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0b9583504323..928a1bcc3bbb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2002-09-25 David S. Miller + + PR target/7842 + * config/sparc/sparc.c (set_extends): SImode ASHIFT does not + extend. + 2002-09-20 Jeroen Dobbelaere * config/arm/arm.md (sign_extract_onebit, not_signextract_onebit): diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index 6ef28141ce40..c23cbef1be52 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -8650,7 +8650,6 @@ set_extends (insn) return INTVAL (op1) >= 0; return (GET_CODE (op1) == REG && sparc_check_64 (op1, insn) == 1); } - case ASHIFT: case LSHIFTRT: return GET_MODE (SET_SRC (pat)) == SImode; /* Positive integers leave the high bits zero. */