aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
AgeCommit message (Expand)AuthorFilesLines
2006-04-23fold-const.c (range_predecessor): Use operand_equal_p as the predicate for eq...Eric Botcazou1-2/+4
2006-04-19re PR rtl-optimization/26026 (power of 2 mod missing optimisation)Alan Modra1-21/+33
2006-04-17re PR target/26961 (ICE simplify_subreg:3813)Roger Sayle1-4/+12
2006-04-15cfgcleanup.c, [...]: Fix comment typos.Kazu Hirata1-1/+1
2006-04-13fold-const.c (native_encode_vector, [...]): Correct obvious mistakes in the p...Roger Sayle1-3/+3
2006-04-13fold-const.c (native_encode_expr): New function to encode the target represen...Roger Sayle1-2/+397
2006-04-05re PR tree-optimization/26763 (wrong final value of induction variable calcul...Richard Guenther1-27/+28
2006-03-28fold-const.c (fold_binary): Fold (X & Y) ^ Y as the equivalent ~X & Y, and th...Roger Sayle1-0/+78
2006-03-28fold-const.c (fold_unary): Fold (T1)(~(T2)X) as ~(T1)X...Roger Sayle1-0/+16
2006-03-28re PR middle-end/22524 (fold (or the front-ends) produces UNARY (BIT_NOT_EXPR...Roger Sayle1-1/+2
2006-03-25re PR middle-end/26717 (complex/complex gives a REAL_CST)Uros Bizjak1-2/+18
2006-03-14Move around a couple of hunks and add a missing one for commit 111866Eric Botcazou1-30/+28
2006-03-09fold-const.c (build_range_check): Make sure to use a valid type to apply the ...Eric Botcazou1-59/+84
2006-03-09re PR middle-end/26561 (ACATS failures c34004a, c46033a and cxg2024 at -O0)Roger Sayle1-5/+21
2006-03-01re PR middle-end/26022 (ICE with references and virtual functions)Andrew Pinski1-20/+0
2006-02-27fold-const.c (fold_binary): Fold (~X & C) eq/ne 0 as (X & C) ne/eq 0, where C...Roger Sayle1-0/+44
2006-02-26fold-const.c (fold_binary): Fold (X & 1) ^ 1 as (X & 1) == 0.Roger Sayle1-0/+29
2006-02-26re PR tree-optimization/21137 (Convert (a >> 2) & 1 != 0 into a & 4 != 0)Roger Sayle1-0/+46
2006-02-25re PR middle-end/23673 (fold does not fold (a^b) != 0 to a != b)Roger Sayle1-0/+26
2006-02-24fold-const.c (fold_comparison): New subroutine of fold_binary containing tran...Roger Sayle1-686/+693
2006-02-18re PR rtl-optimization/25600 (unsigned>>31?-1:0 should be optimized to int>>31)Roger Sayle1-0/+24
2006-02-16tree-vrp.c (set_value_range_to_nonnegative): New function.Jeff Law1-0/+10
2006-02-14re PR middle-end/23670 (Fold does not fold (a|b)&b to b likewise for (a&b) | ...Roger Sayle1-0/+40
2006-02-13re PR middle-end/24427 (missing optimization opportunity with binary operators)Roger Sayle1-0/+57
2006-02-10fold-const.c (tree_expr_nonzero_p): Fix thinko.Jeff Law1-1/+1
2006-02-09re PR middle-end/26134 (fold *(float*)(&complex_float_var) into REALPART_EXPR...Andrew Pinski1-0/+24
2006-02-08tree.def (CHAR_TYPE): Remove.Roger Sayle1-7/+4
2006-02-02re PR middle-end/24901 (Misaligned data in fold_checksum_tree (--enable-check...Steve Ellcey1-5/+5
2006-01-23re PR middle-end/24437 (OBJ_TYPE_REF handling in fold_stmt should be moved to...Andrew Pinski1-0/+20
2006-01-16Use gcc_unreachable () instead of gcc_assert (FALSE) in latest commit.Eric Botcazou1-1/+1
2006-01-16fold-const.c (fold_minmax): New static function.Eric Botcazou1-0/+49
2006-01-03re PR rtl-optimization/25130 (miscompilation in GCSE)Steven Bosscher1-2/+5
2005-12-28re PR tree-optimization/25394 (libgcc2.c:2033: ICE: tree check: expected tree...Daniel Berlin1-5/+8
2005-12-27fold-const.c (int_const_binop): Return NULL_TREE when an expression can't be ...Roger Sayle1-91/+77
2005-12-22tree.c (tree_fold_gcd): Use build_int_cst where appropriate.Richard Guenther1-20/+20
2005-12-22re PR middle-end/23518 (some gcc optimizations do not take overflow into acco...Kazu Hirata1-0/+5
2005-12-16basic-block.h, [...]: Fix comment typos.Kazu Hirata1-2/+2
2005-12-06fold-const.c (fold_convert): Do not build and fold CONVERT_EXPR, but always u...Richard Guenther1-3/+2
2005-12-01fold-const.c (fold_binary): Use fold_build2, not fold (build (...)).Richard Guenther1-2/+2
2005-11-30tree.h (CASE_FLT_FN, [...]): New macros.Volker Reichelt1-81/+56
2005-11-29fold-const.c (negate_expr): Add break after the if.Andrew Pinski1-0/+1
2005-11-29fold-const.c (negate_expr_p): Return true for BIT_NOT_EXPR.Andrew Pinski1-4/+8
2005-11-28re PR middle-end/20219 (Missed optimisation sin / tan --> cos)Roger Sayle1-30/+73
2005-11-27re PR tree-optimization/24575 (-(i /10) is not foldded to i/-10)Andrew Pinski1-0/+32
2005-11-26re PR middle-end/23669 (fold does convert (-a)/10 into a/-10 with -fno-wrapv)Andrew Pinski1-0/+13
2005-11-25fold-const.c (negate_mathfn_p): Fix comment and add support for BUILT_IN_CBRT...Volker Reichelt1-2/+17
2005-11-24[multiple changes]Andrew Pinski1-0/+10
2005-11-24[multiple changes]Andrew Pinski1-0/+7
2005-11-22re PR middle-end/23606 (fold does not fold (type)(a == b) into a == b (with t...Andrew Pinski1-0/+6
2005-11-21fold-const.c (fold_binary): Optimize A / A to 1.0 if we don't care about NaNs...Uros Bizjak1-0/+11