From: Bernd Schmidt Date: Fri, 19 Dec 1997 08:47:13 +0000 (+0000) Subject: i386.c (notice_update_cc): Remove bogus pentium GCC code. X-Git-Tag: prereleases/egcs-1.0.1-prerelease~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e37f712a829861fffc818ce8c402899a31c8d15;p=thirdparty%2Fgcc.git i386.c (notice_update_cc): Remove bogus pentium GCC code. * i386.c (notice_update_cc): Remove bogus pentium GCC code. Fix x86 codegen bug exposed by latest glibc. From-SVN: r17150 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4a41846bde24..917e3e2c23c6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Fri Dec 19 09:50:30 1997 Bernd Schmidt + + * i386.c (notice_update_cc): Remove bogus pentium GCC code. + Fri Dec 19 09:39:48 1997 Jeffrey A Law (law@cygnus.com) * stmt.c (warn_if_unused_value): Don't warn for TRY_CATCH_EXPR. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index fafdabc91b4e..cda52fad9711 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -3385,16 +3385,7 @@ notice_update_cc (exp) /* Jumps do not alter the cc's. */ if (SET_DEST (exp) == pc_rtx) return; -#ifdef IS_STACK_MODE - /* Moving into a memory of stack_mode may have been moved - in between the use and set of cc0 by loop_spl(). So - old value of cc.status must be retained */ - if(GET_CODE(SET_DEST(exp))==MEM - && IS_STACK_MODE(GET_MODE(SET_DEST(exp)))) - { - return; - } -#endif + /* Moving register or memory into a register: it doesn't alter the cc's, but it might invalidate the RTX's which we remember the cc's came from.