This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r211777 - in /trunk/gcc: ChangeLog postreload.c...
- From: schwab at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 18 Jun 2014 10:37:14 -0000
- Subject: r211777 - in /trunk/gcc: ChangeLog postreload.c...
Author: schwab
Date: Wed Jun 18 10:37:14 2014
New Revision: 211777
URL: https://gcc.gnu.org/viewcvs?rev=211777&root=gcc&view=rev
Log:
Use strict_low_part for loading a constant only if it is cheaper
PR rtl-optimization/54555
* postreload.c (move2add_use_add2_insn): Substitute
STRICT_LOW_PART only if it is cheaper.
testsuite/:
PR rtl-optimization/54555
* gcc.target/m68k/pr54555.c: New test.
Added:
trunk/gcc/testsuite/gcc.target/m68k/pr54555.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/postreload.c
trunk/gcc/testsuite/ChangeLog