[Bug rtl-optimization/55154] [4.8 Regression] ICE: in curr_insn_transform, at lra-constraints.c:2702 with custom flags
vmakarov at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Nov 9 15:33:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55154
--- Comment #4 from Vladimir Makarov <vmakarov at gcc dot gnu.org> 2012-11-09 15:33:27 UTC ---
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-bugs
mailing list