fold-const.c (tree_swap_operands_p): disables some features when optimizing for size.
2003-10-15 G�bor L�ki <alga@rgai.hu> * fold-const.c (tree_swap_operands_p): disables some features when optimizing for size. From-SVN: r72538
This commit is contained in:
parent
5c3c9bc46b
commit
a352244f95
|
@ -1,3 +1,8 @@
|
|||
2003-10-15 Gábor Lóki <alga@rgai.hu>
|
||||
|
||||
* fold-const.c (tree_swap_operands_p): disables
|
||||
some features when optimizing for size.
|
||||
|
||||
2003-10-15 David Daney <ddaney@avtrex.com>
|
||||
|
||||
* config/mips/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New
|
||||
|
|
|
@ -5148,6 +5148,9 @@ tree_swap_operands_p (tree arg0, tree arg1, bool reorder)
|
|||
return 0;
|
||||
if (TREE_CONSTANT (arg0))
|
||||
return 1;
|
||||
|
||||
if (optimize_size)
|
||||
return 0;
|
||||
|
||||
if (reorder && flag_evaluation_order
|
||||
&& (TREE_SIDE_EFFECTS (arg0) || TREE_SIDE_EFFECTS (arg1)))
|
||||
|
|
Loading…
Reference in New Issue