r193364 - in /trunk/gcc: ChangeLog lra-constrai...

vmakarov@gcc.gnu.org vmakarov@gcc.gnu.org
Fri Nov 9 15:33:00 GMT 2012


Author: vmakarov
Date: Fri Nov  9 15:33:19 2012
New Revision: 193364

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193364
Log:
2012-11-09  Vladimir Makarov  <vmakarov@redhat.com>

	PR tree-optimization/55154
	* lra-int.h (LRA_LOSER_COST_FACTOR, LRA_MAX_REJECT): New macros.
	* lra.c (setup_operand_alternative): Use them.
	* lra-constraints.c (LOSER_COST_FACTOR, MAX_OVERALL_COST_BOUND):
	Remove.
	(process_alt_operands): Use LRA_LOSER_COST_FACTOR and
	LRA_MAX_REJECT.  Accumulate reject instead of setting for
	non-const.
	(curr_insn_transform): Initialize best_losers and best_overall by
	INT_MAX.

2012-11-09  Vladimir Makarov  <vmakarov@redhat.com>

	PR rtl-optimization/55154
	* gcc.target/i386/pr55154.c: New test.


Added:
    trunk/gcc/testsuite/gcc.target/i386/pr55154.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/lra-constraints.c
    trunk/gcc/lra-int.h
    trunk/gcc/lra.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list