aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
AgeCommit message (Expand)AuthorFilesLines
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
2005-11-19fold-const.c (fold_indirect_ref_1): Make sure we fold ARRAY_REFs of constant ...Richard Guenther1-2/+8
2005-11-19re PR middle-end/23294 (fold does not fold a*C+a to a*(C+1) or a*C-a to a*(C-1))Richard Guenther1-133/+117
2005-11-18fold-const.c (build_range_check): Use proper type for subtraction when mergin...Richard Kenner1-4/+16
2005-11-17re PR middle-end/24851 (f2c miscompilation)Richard Guenther1-17/+16
2005-11-16fold-const.c (const_binop): Don't constant fold the operation if the result h...Eric Botcazou1-0/+10
2005-11-02re PR middle-end/22429 (-1073741824 <= n && n <= 1073741823 is true where n i...Andrew Pinski1-1/+7
2005-10-20re PR c++/24439 (ICE with invert conditional containing throw)Richard Guenther1-3/+12
2005-10-18re PR middle-end/23522 (fold_widened_comparison bug)Alexey Starovoytov1-3/+3
2005-10-07re PR middle-end/24227 (ICE in compare_values, at tree-vrp.c:415)Richard Guenther1-13/+5
2005-09-26re PR middle-end/23960 (ICE in compare_values in VRP)Kazu Hirata1-1/+1
2005-09-09re PR c++/23624 (ICE: internal compiler error: in invert_truthvalue, at fold-...Richard Guenther1-1/+2
2005-08-29re PR middle-end/22455 (ICE tree check: expected function_decl, have type_dec...Daniel Berlin1-7/+12
2005-08-24fold-const.c (ptr_difference_const): Use cst_and_fits_in_hwi instead of host_...Zdenek Dvorak1-2/+2
2005-08-23re PR middle-end/23517 (can't cast between generic vector types and target su...Paolo Bonzini1-1/+1
2005-08-17c-typeck.c (build_function_call): Call fold_buildN_initializer or fold_buildN...James A. Morrison1-15/+47
2005-08-17fold-const.c (optimize_bit_field_compare): Remove extra fold call.James A. Morrison1-9/+9
2005-08-16* fold-const.c (tree_expr_nonnegative_p): Regroup cases.Volker Reichelt1-31/+20
2005-08-16* fold-const.c (fold_ternary): Simplify folding of a CALL_EXPR.Volker Reichelt1-7/+1
2005-08-16re PR middle-end/23369 (build_range_check generates wrong code for funcptr co...John David Anglin1-0/+9
2005-08-14fold-const (fold_binary): Call fold_build2 instead of fold (build.James A. Morrison1-4/+3
2005-08-04tree.h (fold_build1): Change to macro and call fold_build1_stat.Andrew Pinski1-7/+10
2005-08-02fold-const.c (tree_expr_nonnegative_p): frexp(x, &e) is positive if its first...Richard Guenther1-1/+1
2005-08-01dwarf2out.c, [...]: Fix comment typos.Kazu Hirata1-1/+1
2005-07-30fold-const.c (tree_expr_nonnegative_p): Always return true for non-integral t...James A. Morrison1-1/+1
2005-07-26calls.c, [...]: Fix comment typos.Kazu Hirata1-1/+1
2005-07-26re PR tree-optimization/22486 (Upcasts are not folded away)Richard Guenther1-0/+23
2005-07-22fold-const.c (fold_unary): Don't strip signed nops from ABS_EXPRs.James A. Morrison1-2/+7
2005-07-21re PR middle-end/21180 (checking on fold no longer happens in some cases)Andrew Pinski1-13/+125
2005-07-21re PR tree-optimization/19055 (Minor bit optimization with or and xor)Andrew Pinski1-0/+48
2005-07-20tree.h (tree_expr_nonzero_p): Export.James A. Morrison1-4/+8
2005-07-20fold-const.c (tree_expr_nonnegative_p): Only return true for ABS_EXPR when fl...James A. Morrison1-4/+8
2005-07-20Make CONSTRUCTOR use VEC to store initializers.Giovanni Bajo1-3/+5
2005-07-15[multiple changes]Andrew Pinski1-3/+6
2005-07-13fold-const.c (fold_binary): When comparing two simple ADDR_EXPR expressions...Jeff Law1-3/+17