aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
AgeCommit message (Expand)AuthorFilesLines
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
2003-12-30fold-const.c (fold): Don't require strict type equality...Roger Sayle1-1/+2
2003-12-29re PR fortran/12632 ([g77 only] -fbounds-check ICE)Roger Sayle1-3/+10
2003-12-20expr.c (check_max_integer_computation_mode): Remove.Kazu Hirata1-3/+0
2003-11-24fold-const.c (fold): Do not return early when optimizing COMPONENT_REF and co...Jan Hubicka1-1/+2
2003-11-01re PR middle-end/11968 (Array reference is incorrectly computed for POINTERS_...Roger Sayle1-2/+5
2003-10-29fold-const.c (fold_single_bit_test): Convert the input to the operational int...Richard Henderson1-6/+7
2003-10-15fold-const.c (tree_swap_operands_p): disables some features when optimizing f...Gábor Lóki1-0/+3
2003-10-11fold-const.c (negate_mathfn_p): New function to determine whether a built-in ...Roger Sayle1-81/+147
2003-10-05fold-const.c: Follow spelling conventions.Kazu Hirata1-1/+1
2003-10-03PR optimization/9325, PR java/6391Roger Sayle1-29/+51
2003-10-01fold-const.c (make_range): When handling unsigned, don't reverse range if hig...Richard Kenner1-4/+4
2003-09-30fold-const.c (fold): Fold (A & ~B) - (A & B) into (A ^ B) - B for any B.Kazu Hirata1-6/+2
2003-09-29Remove extra comma in comment.Richard Kenner1-1/+1
2003-09-29fold-const.c (fold): Fold (A & ~B) - (A & B) into (A ^ B) - B, where B is any...Kazu Hirata1-0/+23
2003-09-25re PR bootstrap/12358 (Bootstrap comparison failure!)Roger Sayle1-10/+0
2003-09-18tree.def (FFS_EXPR, [...]): Delete unused tree codes.Roger Sayle1-13/+12
2003-09-16fold-const.c (tree_swap_operands_p): New function to determine the prefered o...Roger Sayle1-126/+76
2003-09-14alias.c: Follow spelling conventions.Kazu Hirata1-1/+1
2003-09-09builtins.c (real_dconstp, [...]): New, split out from fold_builtin.Kaveh R. Ghazi1-6/+34
2003-09-08* fold-const.c (operand_equal_p): Clarify documentation.Roger Sayle1-2/+16
2003-09-01c-typeck.c (build_binary_op): Kill BIT_ANDTC_EXPR.Josef Zlomek1-23/+9
2003-08-26re PR middle-end/12002 (internal compiler error: in gen_lowpart, at emit-rtl....Roger Sayle1-1/+2
2003-08-26fold-const.c (fold <MULT_EXPR>): Optimize (C1/X)*C2 into (C1*C2)/X when unsaf...Roger Sayle1-10/+33
2003-08-22c-decl.c: Fix comment formatting.Kazu Hirata1-1/+1
2003-08-21fold-const.c (fold): Fix bug in (A & C) == D where D & ~C != 0 and similarly ...Josef Zlomek1-2/+2