fold-const.c (extract_muldiv_1): Do not simplify var * c * c to var.
* fold-const.c (extract_muldiv_1): Do not simplify var * c * c to var. From-SVN: r128375
This commit is contained in:
parent
e18d6a151c
commit
e6ebd07f47
@ -1,3 +1,8 @@
|
||||
2007-09-11 Zdenek Dvorak <ook@ucw.cz>
|
||||
|
||||
* fold-const.c (extract_muldiv_1): Do not simplify
|
||||
var * c * c to var.
|
||||
|
||||
2007-09-11 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* i386.h (ix86_tune_indices): Add X86_TUNE_INTER_UNIT_CONVERSIONS.
|
||||
|
@ -6273,7 +6273,8 @@ extract_muldiv_1 (tree t, tree c, enum tree_code code, tree wide_type,
|
||||
&& ((code == MULT_EXPR && tcode == EXACT_DIV_EXPR)
|
||||
|| (tcode == MULT_EXPR
|
||||
&& code != TRUNC_MOD_EXPR && code != CEIL_MOD_EXPR
|
||||
&& code != FLOOR_MOD_EXPR && code != ROUND_MOD_EXPR)))
|
||||
&& code != FLOOR_MOD_EXPR && code != ROUND_MOD_EXPR
|
||||
&& code != MULT_EXPR)))
|
||||
{
|
||||
if (integer_zerop (const_binop (TRUNC_MOD_EXPR, op1, c, 0)))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user