aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
AgeCommit message (Expand)AuthorFilesLines
2004-04-26fold-const.c (fold): Prefer fold_convert (negate_expr (...)) to fold (build1 ...Roger Sayle1-5/+17
2004-04-20fold-const.c (fold_convert): Make function extern/public.Roger Sayle1-2/+1
2004-04-14builtins.c (fold_builtin_cabs, [...]): Use `mathfn_built_in' to determine the...Kaveh R. Ghazi1-49/+4
2004-04-11fold-const.c (fold_binary_op_with_conditional_arg): Tweak calling convention ...Roger Sayle1-28/+37
2004-04-03fold-const.c (fold): Guard (-A)+B -> B-A transformation with reorder_operands_p.Roger Sayle1-2/+3
2004-04-01* fold-const.c (folda): Preserve types of comparisons.Waldek Hebisch1-7/+7
2004-04-01re PR c++/14755 (miscompilation in bitfielded signed integers)Jakub Jelinek1-22/+8
2004-04-01expr.c (get_inner_reference): Use DECL_UNSIGNED, not TREE_UNSIGNED.Richard Kenner1-1/+1
2004-03-31builtins.c, [...]: Change most occurrences of TREE_UNSIGNED to TYPE_UNSIGNED.Richard Kenner1-55/+59
2004-03-30Reassociate multiply expression with an adjacent non-multiply expression.Fariborz Jahanian1-0/+30
2004-03-26fold-const.c (tree_expr_nonnegative_p): Handle BIT_XOR_EXPR like BIT_IOR_EXPR...Roger Sayle1-0/+1
2004-03-25builtins.c (fold_builtin): Add new builtin optimizations for sqrt and/or cbrt.Kaveh R. Ghazi1-7/+8
2004-03-23fold-const.c (tree_expr_nonnegative_p): A&B is nonnegative when A is nonnegat...Roger Sayle1-0/+11
2004-03-23fold-const.c (fold): Remove cases for INTEGER_CST...Kazu Hirata1-8/+0
2004-03-23re PR rtl-optimization/14669 (Wrong code with -O for enum values expression E...Roger Sayle1-0/+3
2004-03-21alias.c (get_alias_set): Remove handling of PLACEHOLDER_EXPR.Richard Kenner1-11/+0
2004-03-20* fold-const.c (fold): Replace "expr" with "t".Kazu Hirata1-5/+5
2004-03-20fold-const.c (fold): Replace "final_type" with "type".Kazu Hirata1-15/+14
2004-03-20fold-const.c (fold): Constify "type".Kazu Hirata1-13/+13
2004-03-20fold-const.c (fold): Replace "t" with "tem" where it is used as a temporary v...Kazu Hirata1-51/+49
2004-03-20fold-const.c (fold): Remove variable "invert".Kazu Hirata1-87/+195
2004-03-19fold-const.c (fold): Move the handling of constants ...Kazu Hirata1-36/+57
2004-03-19fold-const.c (negate_expr): Move the handling of constants ...Kazu Hirata1-15/+39
2004-03-17Fix stuff accidentally committed in previous patchMark Mitchell1-6/+6
2004-03-17re PR c++/14481 (strange warning when assigning to bitfield)Mark Mitchell1-6/+7
2004-03-14fold-const.c (negate_expr, [...]): Replace calls via (*lang_hooks.foo) () wit...Roger Sayle1-34/+34
2004-03-11fold-const.c (negate_expr_p): We can optimize -((int)X>>C) where C is an inte...Roger Sayle1-0/+31
2004-03-10fold-const.c (tree_expr_nonnegative_p): Add more builtin cases.Kaveh R. Ghazi1-0/+39
2004-03-08fold-const.c (tree_expr_nonnegative_p): Reformat checks for builtins.Kaveh R. Ghazi1-53/+24
2004-03-07fold-const.c (fold): Fold x | x as x.Roger Sayle1-0/+6
2004-03-07fold-const.c (fold): Rewrite optimization to transform "foo++ == const" into ...Roger Sayle1-140/+71
2004-03-06tree.h (BUILTIN_EXP10_P, [...]): New macros.Kaveh R. Ghazi1-31/+4
2004-03-01fold-const.c (fold): An equality comparison of a non-weak object against zero...Jeff Law1-0/+39
2004-02-28fold-const.c (fold): Strip NOPs that change the signedness for RSHIFT too.Eric Botcazou1-7/+13
2004-02-27fold-const.c (fold): Revert 2004-02-25 change.Eric Botcazou1-5/+3
2004-02-27c-decl.c, [...]: Fix comment typos and formatting.Kazu Hirata1-1/+1
2004-02-25fold-const.c (fold): Treat MAX_EXPR and MIN_EXPR like comparisons with regard...Eric Botcazou1-1/+4
2004-02-21combine.c (SHIFT_COUNT_TRUNCATED): Remove.Kazu Hirata1-4/+0
2004-02-19fold-const.c (invert_truthvalue): Do not call invert_tree_comparison for unor...Jeff Law1-0/+8
2004-02-16* fold-const.c (operand_equal_p): Fix VECTOR_CST comparison.Richard Henderson1-1/+2
2004-02-10re PR middle-end/14092 (fold strips conversion from pointer to integer)Paolo Bonzini1-1/+1
2004-02-09fold-const.c (fold): Use the original type conversion tree code rather than c...Roger Sayle1-8/+8
2004-02-07re PR middle-end/13696 (enum not useable as array index?)Roger Sayle1-277/+414
2004-02-07fold-const.c (negate_expr_p, [...]): Optimize -(A+B) into either (-A)-B or (-...Roger Sayle1-13/+59
2004-02-03tree.c (commutative_tree_code, [...]): New functions.Jeff Law1-10/+2
2004-01-23fold-const.c (fold_binary_op_with_conditional_arg): Only build a COMPOUND_EXP...Eric Botcazou1-1/+7
2004-01-20fold-const.c (fold_convert): Rename to fold_convert_const.Roger Sayle1-33/+44
2004-01-20c-decl.c (c_init_decl_processing): Set pedantic_lvalues to true unconditionally.Joseph Myers1-3/+3
2004-01-16c-common.h: Fix comment formatting.Kazu Hirata1-1/+1
2004-01-06alias.c: Fix comment typos.Kazu Hirata1-1/+1