fix gcc-4.2.4 when target != avr32
authorNicolas Thill <nico@openwrt.org>
Wed, 3 Dec 2008 00:20:00 +0000 (00:20 +0000)
committerNicolas Thill <nico@openwrt.org>
Wed, 3 Dec 2008 00:20:00 +0000 (00:20 +0000)
SVN-Revision: 13493

toolchain/gcc/patches/4.2.4/900-avr32_support.patch

index 6ba8b7f74a62392d76888747ca35f2bd49e68186..333eb64cdb6f94c453b256560ef9ed576fdbf821 100644 (file)
    for (insn = BB_HEAD (bb); ; insn = NEXT_INSN (insn))
      {
        int n_ops, i, alt, predicated;
-@@ -1630,7 +1633,60 @@ copyprop_hardreg_forward_1 (basic_block 
+@@ -1630,7 +1633,62 @@ copyprop_hardreg_forward_1 (basic_block 
              || (predicated && recog_data.operand_type[i] == OP_OUT))
            recog_data.operand_type[i] = OP_INOUT;
        }
 +         are modified these tests will fail.
 +      */
 +      
++#ifdef IFCVT_ALLOW_MODIFY_TEST_IN_INSN
 +      if ( IFCVT_ALLOW_MODIFY_TEST_IN_INSN
 +           && predicated )
 +        { 
 +        {
 +          prev_pred_insn_skipped = 0;
 +        }
++#endif /* IFCVT_ALLOW_MODIFY_TEST_IN_INSN */
 +      
        /* For each earlyclobber operand, zap the value data.  */
        for (i = 0; i < n_ops; i++)