summaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
Commit message (Expand)AuthorAgeFilesLines
* fold-const.c (tree_expr_nonnegative_p): Handle BIT_XOR_EXPR like BIT_IOR_EXPR...Roger Sayle2004-03-261-0/+1
* builtins.c (fold_builtin): Add new builtin optimizations for sqrt and/or cbrt.Kaveh R. Ghazi2004-03-251-7/+8
* fold-const.c (tree_expr_nonnegative_p): A&B is nonnegative when A is nonnegat...Roger Sayle2004-03-231-0/+11
* fold-const.c (fold): Remove cases for INTEGER_CST...Kazu Hirata2004-03-231-8/+0
* re PR rtl-optimization/14669 (Wrong code with -O for enum values expression E...Roger Sayle2004-03-231-0/+3
* alias.c (get_alias_set): Remove handling of PLACEHOLDER_EXPR.Richard Kenner2004-03-211-11/+0
* * fold-const.c (fold): Replace "expr" with "t".Kazu Hirata2004-03-201-5/+5
* fold-const.c (fold): Replace "final_type" with "type".Kazu Hirata2004-03-201-15/+14
* fold-const.c (fold): Constify "type".Kazu Hirata2004-03-201-13/+13
* fold-const.c (fold): Replace "t" with "tem" where it is used as a temporary v...Kazu Hirata2004-03-201-51/+49
* fold-const.c (fold): Remove variable "invert".Kazu Hirata2004-03-201-87/+195
* fold-const.c (fold): Move the handling of constants ...Kazu Hirata2004-03-191-36/+57
* fold-const.c (negate_expr): Move the handling of constants ...Kazu Hirata2004-03-191-15/+39
* Fix stuff accidentally committed in previous patchMark Mitchell2004-03-171-6/+6
* re PR c++/14481 (strange warning when assigning to bitfield)Mark Mitchell2004-03-171-6/+7
* fold-const.c (negate_expr, [...]): Replace calls via (*lang_hooks.foo) () wit...Roger Sayle2004-03-141-34/+34
* fold-const.c (negate_expr_p): We can optimize -((int)X>>C) where C is an inte...Roger Sayle2004-03-111-0/+31
* fold-const.c (tree_expr_nonnegative_p): Add more builtin cases.Kaveh R. Ghazi2004-03-101-0/+39
* fold-const.c (tree_expr_nonnegative_p): Reformat checks for builtins.Kaveh R. Ghazi2004-03-081-53/+24
* fold-const.c (fold): Fold x | x as x.Roger Sayle2004-03-071-0/+6
* fold-const.c (fold): Rewrite optimization to transform "foo++ == const" into ...Roger Sayle2004-03-071-140/+71
* tree.h (BUILTIN_EXP10_P, [...]): New macros.Kaveh R. Ghazi2004-03-061-31/+4
* fold-const.c (fold): An equality comparison of a non-weak object against zero...Jeff Law2004-03-011-0/+39
* fold-const.c (fold): Strip NOPs that change the signedness for RSHIFT too.Eric Botcazou2004-02-281-7/+13
* fold-const.c (fold): Revert 2004-02-25 change.Eric Botcazou2004-02-271-5/+3
* c-decl.c, [...]: Fix comment typos and formatting.Kazu Hirata2004-02-271-1/+1
* fold-const.c (fold): Treat MAX_EXPR and MIN_EXPR like comparisons with regard...Eric Botcazou2004-02-251-1/+4
* combine.c (SHIFT_COUNT_TRUNCATED): Remove.Kazu Hirata2004-02-211-4/+0
* fold-const.c (invert_truthvalue): Do not call invert_tree_comparison for unor...Jeff Law2004-02-191-0/+8
* * fold-const.c (operand_equal_p): Fix VECTOR_CST comparison.Richard Henderson2004-02-161-1/+2
* re PR middle-end/14092 (fold strips conversion from pointer to integer)Paolo Bonzini2004-02-101-1/+1
* fold-const.c (fold): Use the original type conversion tree code rather than c...Roger Sayle2004-02-091-8/+8
* re PR middle-end/13696 (enum not useable as array index?)Roger Sayle2004-02-071-277/+414
* fold-const.c (negate_expr_p, [...]): Optimize -(A+B) into either (-A)-B or (-...Roger Sayle2004-02-071-13/+59
* tree.c (commutative_tree_code, [...]): New functions.Jeff Law2004-02-031-10/+2
* fold-const.c (fold_binary_op_with_conditional_arg): Only build a COMPOUND_EXP...Eric Botcazou2004-01-231-1/+7
* fold-const.c (fold_convert): Rename to fold_convert_const.Roger Sayle2004-01-201-33/+44
* c-decl.c (c_init_decl_processing): Set pedantic_lvalues to true unconditionally.Joseph Myers2004-01-201-3/+3
* c-common.h: Fix comment formatting.Kazu Hirata2004-01-161-1/+1
* alias.c: Fix comment typos.Kazu Hirata2004-01-061-1/+1
* fold-const.c (fold): Don't require strict type equality...Roger Sayle2003-12-301-1/+2
* re PR fortran/12632 ([g77 only] -fbounds-check ICE)Roger Sayle2003-12-291-3/+10
* expr.c (check_max_integer_computation_mode): Remove.Kazu Hirata2003-12-201-3/+0
* fold-const.c (fold): Do not return early when optimizing COMPONENT_REF and co...Jan Hubicka2003-11-241-1/+2
* re PR middle-end/11968 (Array reference is incorrectly computed for POINTERS_...Roger Sayle2003-11-011-2/+5
* fold-const.c (fold_single_bit_test): Convert the input to the operational int...Richard Henderson2003-10-291-6/+7
* fold-const.c (tree_swap_operands_p): disables some features when optimizing f...Gábor Lóki2003-10-151-0/+3
* fold-const.c (negate_mathfn_p): New function to determine whether a built-in ...Roger Sayle2003-10-111-81/+147
* fold-const.c: Follow spelling conventions.Kazu Hirata2003-10-051-1/+1
* PR optimization/9325, PR java/6391Roger Sayle2003-10-031-29/+51