aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
AgeCommit message (Expand)AuthorFilesLines
2007-01-11builtins.c (expand_builtin_pow, [...]): Replace uses of the macro TREE_CONSTA...Roger Sayle1-66/+35
2007-01-10fold-const.c (fold_comparison): Fold comparisons like (x * 1000 < 0) to (x < 0).Robert Kennedy1-0/+25
2007-01-10fold-const.c (fold_truthop): Don't check can_use_bit_fields_p.Tom Tromey1-8/+2
2007-01-08tree.h (force_fit_type_double): Export.Richard Guenther1-75/+72
2007-01-08tree.h (build_int_cst_wide_type): Export.Richard Guenther1-21/+10
2007-01-08builtins.c (fold_builtin_int_roundingfn): Use fit_double_type.Richard Guenther1-44/+72
2007-01-04fold-const.c (fold_convert): When casting an expression to void...Roger Sayle1-1/+4
2007-01-02fold-const.c (fold_binary): Fold "(X^C1) eq/ne C2" into "X eq/ne (C1^C2)".Roger Sayle1-0/+39
2006-12-31re PR tree-optimization/30137 (Missed folding of pointer comparison)Richard Guenther1-0/+104
2006-12-31re PR middle-end/30322 (((-i-1) + i) +1) is turned into ~i + (i+1) and never ...Roger Sayle1-1/+22
2006-12-31re PR middle-end/30338 (infinite loop in maybe_canonicalize_comparison)Richard Guenther1-1/+1
2006-12-14re PR middle-end/30172 (Operations with partly constant complex values not fo...Richard Guenther1-0/+57
2006-12-14re PR middle-end/30198 (__real / __imag cexpi (x) can be folded to cos (x) / ...Richard Guenther1-0/+26
2006-12-12re PR middle-end/28436 (accessing an element via a "pointer" on a vector doe...Andrew Pinski1-0/+8
2006-12-12re PR middle-end/30147 (ICE in fold_convert with -O2)Richard Guenther1-1/+3
2006-12-05Merge gimple-tuples-branch into mainline.Aldy Hernandez1-13/+25
2006-12-02builtins.c, [...]: Fix comment typos.Kazu Hirata1-2/+2
2006-12-01fold-const.c (fold_binary): Use the precision of the type instead of the size...Eric Botcazou1-14/+19
2006-11-22re PR tree-optimization/29921 (internal compiler error: in set_lattice_value,...Zdenek Dvorak1-2/+13
2006-11-18fold-const.c (fold_strip_sign_ops): Handle copysign.Kaveh R. Ghazi1-7/+22
2006-11-15re PR tree-optimization/29788 (ICE in var_ann, at tree-flow-inline.h:130)Andrew Pinski1-0/+3
2006-11-14fold-const.c (fold_strip_sign_ops): Handle COMPOUND_EXPR and COND_EXPR.Kaveh R. Ghazi1-0/+16
2006-11-13fold-const.c (optimize_bit_field_compare): Recursively call fold when simplif...Roger Sayle1-9/+13
2006-11-13fold-const.c (negate_expr_p): Correct/refine condition for transformations.Roger Sayle1-4/+8
2006-11-12builtins.c (fold_builtin_cosh): New.Kaveh R. Ghazi1-1/+11
2006-11-12re PR tree-optimization/13827 ((a & b) != (c & b) should be transformed to ((...Roger Sayle1-0/+43
2006-11-12fold-const.c (int_binop_types_match_p): New function.Roger Sayle1-26/+63
2006-11-11tree.def (FIX_CEIL_EXPR, [...]): Remove unused tree codes.Richard Guenther1-18/+0
2006-11-11fold-const.c (operand_equal_p): Don't check for TREE_CONSTANT_OVERFLOW when c...Roger Sayle1-11/+3
2006-11-11builtins.c (fold_builtin_cos): Use fold_strip_sign_ops().Kaveh R. Ghazi1-0/+11
2006-11-11fold-const.c (negate_mathfn_p): Add BUILT_IN_ERF.Kaveh R. Ghazi1-0/+1
2006-11-09re PR middle-end/29726 (invalid folding of ((X >> C1) & C2) != 0 or "M-x is u...Serge Belyshev1-1/+1
2006-11-08tree-ssa-propagate.c (set_rhs): Restructure validity tests as a test for incl...Roger Sayle1-7/+1
2006-11-05re PR middle-end/29695 (Folding breaks (a & 0x80) ? 0x80 : 0 for unsigned cha...Jakub Jelinek1-7/+70
2006-11-01extend.texi (__builtin_bswap32): Document.Eric Christopher1-1/+2
2006-11-01re PR middle-end/23470 (a*a (for floats) is not considered always postive (-f...Roger Sayle1-13/+44
2006-10-29fold-const.c (fold_comparison): Fold ~X op ~Y as Y op X.Roger Sayle1-7/+22
2006-10-29re PR tree-optimization/15458 (Combine ~ and ^.)Roger Sayle1-0/+7
2006-10-28fold-const.c (maybe_canonicalize_comparison): Fix code to match comment.Richard Guenther1-1/+1
2006-10-28re PR middle-end/26899 (Fold does not fold (i0 > i1 + 1) || (i1 < i0 - 1))Richard Guenther1-0/+124
2006-10-23[multiple changes]Richard Guenther1-3/+11
2006-10-21re PR middle-end/26898 (Fold does not fold signed + CST1 CMP signed + CST2)Richard Guenther1-0/+42
2006-10-19fold-const.c (add_double): Rename to add_double_with_sign.Eric Botcazou1-22/+35
2006-08-25re PR middle-end/28814 (in compare_values, at tree-vrp.c:415)Richard Guenther1-1/+2
2006-07-07re PR middle-end/28268 (ICE with simple vector operations)Richard Guenther1-2/+2
2006-07-05re PR tree-optimization/28162 (ICE in set_value_range, at tree-vrp.c:157)Richard Guenther1-4/+4
2006-06-25re PR middle-end/28151 (ICE with complex math)Eric Botcazou1-48/+34
2006-06-20expr.c (expand_expr_real_1): For vector constants with integer modes...Roger Sayle1-7/+5
2006-06-19re PR middle-end/28045 (Bitfield, &&, and optimization => bad code generation)Richard Guenther1-0/+5
2006-06-16re PR middle-end/27116 (Incorrect integer division (wrong sign).)Richard Guenther1-50/+54