mirror of git://gcc.gnu.org/git/gcc.git
re PR rtl-optimization/69291 (wrong code at -O1 for ruby-2.3.0/regcomp.c:985:compile_length_quantifier_node())
2016-02-16 Richard Biener <rguenther@suse.de> PR rtl-optimization/69291 * ifcvt.c (noce_try_store_flag_constants): Re-instantiate noce_operand_ok check. From-SVN: r233448
This commit is contained in:
parent
2175df996b
commit
d5b1a52eec
|
|
@ -1,3 +1,9 @@
|
||||||
|
2016-02-16 Richard Biener <rguenther@suse.de>
|
||||||
|
|
||||||
|
PR rtl-optimization/69291
|
||||||
|
* ifcvt.c (noce_try_store_flag_constants): Re-instantiate
|
||||||
|
noce_operand_ok check.
|
||||||
|
|
||||||
2016-02-16 Tom de Vries <tom@codesourcery.com>
|
2016-02-16 Tom de Vries <tom@codesourcery.com>
|
||||||
|
|
||||||
PR lto/67709
|
PR lto/67709
|
||||||
|
|
|
||||||
|
|
@ -1277,7 +1277,8 @@ noce_try_store_flag_constants (struct noce_if_info *if_info)
|
||||||
/* Allow expressions that are not using the result or plain
|
/* Allow expressions that are not using the result or plain
|
||||||
registers where we handle overlap below. */
|
registers where we handle overlap below. */
|
||||||
&& (REG_P (XEXP (a, 0))
|
&& (REG_P (XEXP (a, 0))
|
||||||
|| ! reg_overlap_mentioned_p (if_info->x, XEXP (a, 0)))
|
|| (noce_operand_ok (XEXP (a, 0))
|
||||||
|
&& ! reg_overlap_mentioned_p (if_info->x, XEXP (a, 0))))
|
||||||
&& if_info->branch_cost >= 2)
|
&& if_info->branch_cost >= 2)
|
||||||
{
|
{
|
||||||
common = XEXP (a, 0);
|
common = XEXP (a, 0);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue