mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-25 23:41:28 +08:00
[cse][3/4] Don't overwrite original rtx when folding source of set
PR target/65932 PR target/67714 * cse.c (cse_insn): Pass NULL to fold_rtx when initially folding the source of a SET. From-SVN: r233133
This commit is contained in:
parent
9fec9595fb
commit
625d55afc1
@ -1,3 +1,10 @@
|
||||
2016-02-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
||||
|
||||
PR target/65932
|
||||
PR target/67714
|
||||
* cse.c (cse_insn): Pass NULL to fold_rtx when initially
|
||||
folding the source of a SET.
|
||||
|
||||
2016-02-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
||||
|
||||
PR target/65932
|
||||
|
@ -4636,7 +4636,7 @@ cse_insn (rtx_insn *insn)
|
||||
|
||||
/* Simplify and foldable subexpressions in SRC. Then get the fully-
|
||||
simplified result, which may not necessarily be valid. */
|
||||
src_folded = fold_rtx (src, insn);
|
||||
src_folded = fold_rtx (src, NULL);
|
||||
|
||||
#if 0
|
||||
/* ??? This caused bad code to be generated for the m68k port with -O2.
|
||||
|
Loading…
x
Reference in New Issue
Block a user