summaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
Commit message (Expand)AuthorAgeFilesLines
* Move around a couple of hunks and add a missing one for commit 111866Eric Botcazou2006-03-141-30/+28
* fold-const.c (build_range_check): Make sure to use a valid type to apply the ...Eric Botcazou2006-03-091-59/+84
* re PR middle-end/26561 (ACATS failures c34004a, c46033a and cxg2024 at -O0)Roger Sayle2006-03-091-5/+21
* re PR middle-end/26022 (ICE with references and virtual functions)Andrew Pinski2006-03-011-20/+0
* fold-const.c (fold_binary): Fold (~X & C) eq/ne 0 as (X & C) ne/eq 0, where C...Roger Sayle2006-02-271-0/+44
* fold-const.c (fold_binary): Fold (X & 1) ^ 1 as (X & 1) == 0.Roger Sayle2006-02-261-0/+29
* re PR tree-optimization/21137 (Convert (a >> 2) & 1 != 0 into a & 4 != 0)Roger Sayle2006-02-261-0/+46
* re PR middle-end/23673 (fold does not fold (a^b) != 0 to a != b)Roger Sayle2006-02-251-0/+26
* fold-const.c (fold_comparison): New subroutine of fold_binary containing tran...Roger Sayle2006-02-241-686/+693
* re PR rtl-optimization/25600 (unsigned>>31?-1:0 should be optimized to int>>31)Roger Sayle2006-02-181-0/+24
* tree-vrp.c (set_value_range_to_nonnegative): New function.Jeff Law2006-02-161-0/+10
* re PR middle-end/23670 (Fold does not fold (a|b)&b to b likewise for (a&b) | ...Roger Sayle2006-02-141-0/+40
* re PR middle-end/24427 (missing optimization opportunity with binary operators)Roger Sayle2006-02-131-0/+57
* fold-const.c (tree_expr_nonzero_p): Fix thinko.Jeff Law2006-02-101-1/+1
* re PR middle-end/26134 (fold *(float*)(&complex_float_var) into REALPART_EXPR...Andrew Pinski2006-02-091-0/+24
* tree.def (CHAR_TYPE): Remove.Roger Sayle2006-02-081-7/+4
* re PR middle-end/24901 (Misaligned data in fold_checksum_tree (--enable-check...Steve Ellcey2006-02-021-5/+5
* re PR middle-end/24437 (OBJ_TYPE_REF handling in fold_stmt should be moved to...Andrew Pinski2006-01-231-0/+20
* Use gcc_unreachable () instead of gcc_assert (FALSE) in latest commit.Eric Botcazou2006-01-161-1/+1
* fold-const.c (fold_minmax): New static function.Eric Botcazou2006-01-161-0/+49
* re PR rtl-optimization/25130 (miscompilation in GCSE)Steven Bosscher2006-01-031-2/+5
* re PR tree-optimization/25394 (libgcc2.c:2033: ICE: tree check: expected tree...Daniel Berlin2005-12-281-5/+8
* fold-const.c (int_const_binop): Return NULL_TREE when an expression can't be ...Roger Sayle2005-12-271-91/+77
* tree.c (tree_fold_gcd): Use build_int_cst where appropriate.Richard Guenther2005-12-221-20/+20
* re PR middle-end/23518 (some gcc optimizations do not take overflow into acco...Kazu Hirata2005-12-221-0/+5
* basic-block.h, [...]: Fix comment typos.Kazu Hirata2005-12-161-2/+2
* fold-const.c (fold_convert): Do not build and fold CONVERT_EXPR, but always u...Richard Guenther2005-12-061-3/+2
* fold-const.c (fold_binary): Use fold_build2, not fold (build (...)).Richard Guenther2005-12-011-2/+2
* tree.h (CASE_FLT_FN, [...]): New macros.Volker Reichelt2005-11-301-81/+56
* fold-const.c (negate_expr): Add break after the if.Andrew Pinski2005-11-291-0/+1
* fold-const.c (negate_expr_p): Return true for BIT_NOT_EXPR.Andrew Pinski2005-11-291-4/+8
* re PR middle-end/20219 (Missed optimisation sin / tan --> cos)Roger Sayle2005-11-281-30/+73
* re PR tree-optimization/24575 (-(i /10) is not foldded to i/-10)Andrew Pinski2005-11-271-0/+32
* re PR middle-end/23669 (fold does convert (-a)/10 into a/-10 with -fno-wrapv)Andrew Pinski2005-11-261-0/+13
* fold-const.c (negate_mathfn_p): Fix comment and add support for BUILT_IN_CBRT...Volker Reichelt2005-11-251-2/+17
* [multiple changes]Andrew Pinski2005-11-241-0/+10
* [multiple changes]Andrew Pinski2005-11-241-0/+7
* re PR middle-end/23606 (fold does not fold (type)(a == b) into a == b (with t...Andrew Pinski2005-11-221-0/+6
* fold-const.c (fold_binary): Optimize A / A to 1.0 if we don't care about NaNs...Uros Bizjak2005-11-211-0/+11
* fold-const.c (fold_indirect_ref_1): Make sure we fold ARRAY_REFs of constant ...Richard Guenther2005-11-191-2/+8
* re PR middle-end/23294 (fold does not fold a*C+a to a*(C+1) or a*C-a to a*(C-1))Richard Guenther2005-11-191-133/+117
* fold-const.c (build_range_check): Use proper type for subtraction when mergin...Richard Kenner2005-11-181-4/+16
* re PR middle-end/24851 (f2c miscompilation)Richard Guenther2005-11-171-17/+16
* fold-const.c (const_binop): Don't constant fold the operation if the result h...Eric Botcazou2005-11-161-0/+10
* re PR middle-end/22429 (-1073741824 <= n && n <= 1073741823 is true where n i...Andrew Pinski2005-11-021-1/+7
* re PR c++/24439 (ICE with invert conditional containing throw)Richard Guenther2005-10-201-3/+12
* re PR middle-end/23522 (fold_widened_comparison bug)Alexey Starovoytov2005-10-181-3/+3
* re PR middle-end/24227 (ICE in compare_values, at tree-vrp.c:415)Richard Guenther2005-10-071-13/+5
* re PR middle-end/23960 (ICE in compare_values in VRP)Kazu Hirata2005-09-261-1/+1
* re PR c++/23624 (ICE: internal compiler error: in invert_truthvalue, at fold-...Richard Guenther2005-09-091-1/+2