after validate_change wipes it out.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180284
138bc75d-0d04-0410-961f-
82ee72b054a4
+2011-10-20 Mike Stump <mikestump@comcast.net>
+
+ * regcprop.c (copyprop_hardreg_forward_1): Update recog_data
+ after validate_change wipes it out.
+
2011-10-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* config/spu/spu.md ("vec_permv16qi"): Reduce selector modulo 32
changed = true;
goto did_replacement;
}
+ /* We need to re-extract as validate_change clobbers
+ recog_data. */
+ extract_insn (insn);
+ if (! constrain_operands (1))
+ fatal_insn_not_found (insn);
+ preprocess_constraints ();
}
/* Otherwise, try all valid registers and see if its valid. */
changed = true;
goto did_replacement;
}
+ /* We need to re-extract as validate_change clobbers
+ recog_data. */
+ extract_insn (insn);
+ if (! constrain_operands (1))
+ fatal_insn_not_found (insn);
+ preprocess_constraints ();
}
}
}