mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-24 13:11:44 +08:00
re PR rtl-optimization/82338 (valgrind error in inherit_in_ebb)
2017-09-29 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimization/82338 * lra-constraints.c (inherit_in_ebb): Check usage_insns check. From-SVN: r253299
This commit is contained in:
parent
e1e299f335
commit
851dac7c20
@ -1,3 +1,8 @@
|
||||
2017-09-29 Vladimir Makarov <vmakarov@redhat.com>
|
||||
|
||||
PR rtl-optimization/82338
|
||||
* lra-constraints.c (inherit_in_ebb): Check usage_insns check.
|
||||
|
||||
2017-09-29 Alexander Monakov <amonakov@ispras.ru>
|
||||
|
||||
* genmodes.c (calc_wider_mode): Suppress qsort macro.
|
||||
|
@ -6219,6 +6219,7 @@ inherit_in_ebb (rtx_insn *head, rtx_insn *tail)
|
||||
&& ((cheap = XEXP (cheap, 0)), true)
|
||||
&& (regno = REGNO (cheap)) >= FIRST_PSEUDO_REGISTER
|
||||
&& (hard_regno = reg_renumber[regno]) >= 0
|
||||
&& usage_insns[regno].check == curr_usage_insns_check
|
||||
/* If there are pending saves/restores, the
|
||||
optimization is not worth. */
|
||||
&& usage_insns[regno].calls_num == calls_num - 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user