From: Richard Earnshaw Date: Mon, 9 Nov 1998 22:07:31 +0000 (+0000) Subject: arm.c (final_prescan_insn, case INSN): If an insn doesn't contain a SET or a PARALLEL... X-Git-Tag: prereleases/egcs-1.1.1-prerelease-2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e61bc35727346ccf18b836f1d2b94fa6df3f68e6;p=thirdparty%2Fgcc.git arm.c (final_prescan_insn, case INSN): If an insn doesn't contain a SET or a PARALLEL... * arm.c (final_prescan_insn, case INSN): If an insn doesn't contain a SET or a PARALLEL, don't consider it for conditional execution. From-SVN: r23589 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4820a7784c3c..070436b6750b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +Mon Nov 9 23:05:51 1998 Richard Earnshaw (rearnsha@arm.com) + + * arm.c (final_prescan_insn, case INSN): If an insn doesn't + contain a SET or a PARALLEL, don't consider it for conditional + execution. + Mon Nov 9 22:43:57 1998 Jean-Pierre Radley * fixinc.sco: Paramaterize #include_next values. diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 9a808a80f8dc..b201a0b5f8c3 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -5866,9 +5866,9 @@ final_prescan_insn (insn, opvec, noperands) /* Instructions using or affecting the condition codes make it fail. */ scanbody = PATTERN (this_insn); - if ((GET_CODE (scanbody) == SET - || GET_CODE (scanbody) == PARALLEL) - && get_attr_conds (this_insn) != CONDS_NOCOND) + if (! (GET_CODE (scanbody) == SET + || GET_CODE (scanbody) == PARALLEL) + || get_attr_conds (this_insn) != CONDS_NOCOND) fail = TRUE; break;