Commit 7903b3e5 by Jan Hubicka Committed by Jan Hubicka

re PR middle-end/33318 (fortran/expr.c:305: internal compiler error: internal consistency failure)


	PR target/33318
	* cse.c (fold_rtx): Avoid invalid sharing.

From-SVN: r128187
parent 5ee7f306
2007-09-06 Jan Hubicka <jh@suse.cz>
PR target/33318
* cse.c (fold_rtx): Avoid invalid sharing.
2007-09-06 Richard Sandiford <richard@codesourcery.com> 2007-09-06 Richard Sandiford <richard@codesourcery.com>
* config/mips/mips.md (fixuns_truncdfsi2, fixuns_truncdfdi2) * config/mips/mips.md (fixuns_truncdfsi2, fixuns_truncdfdi2)
......
...@@ -3246,7 +3246,8 @@ fold_rtx (rtx x, rtx insn) ...@@ -3246,7 +3246,8 @@ fold_rtx (rtx x, rtx insn)
/* If we have a cheaper expression now, use that /* If we have a cheaper expression now, use that
and try folding it further, from the top. */ and try folding it further, from the top. */
if (cheapest_simplification != x) if (cheapest_simplification != x)
return fold_rtx (cheapest_simplification, insn); return fold_rtx (copy_rtx (cheapest_simplification),
insn);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment