+2004-09-24 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
+
+ PR rtl-optimization/17625
+ * loop-doloop.c (doloop_modify): Unshare rtl before emitting it.
+
2004-09-24 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/17624
if (GET_CODE (counter_reg) == PLUS)
counter_reg = XEXP (counter_reg, 0);
- count = desc->niter_expr;
+ count = copy_rtx (desc->niter_expr);
increment_count = false;
switch (GET_CODE (condition))
{
if (desc->noloop_assumptions)
{
- rtx ass = desc->noloop_assumptions;
+ rtx ass = copy_rtx (desc->noloop_assumptions);
basic_block preheader = loop_preheader_edge (loop)->src;
basic_block set_zero
= loop_split_edge_with (loop_preheader_edge (loop), NULL_RTX);