aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
AgeCommit message (Expand)AuthorFilesLines
2007-02-04re PR middle-end/30636 (incorrect array bounds warning on multi-dimensional a...Richard Guenther1-0/+29
2007-02-03builtins.c (fold_builtin_cabs): Fold cabs(x+xi) into fabs(x)*sqrt(2).Kaveh R. Ghazi1-2/+39
2007-02-02fold-const.c (negate_expr_p, [...]): Handle COMPLEX_EXPR.Kaveh R. Ghazi1-0/+11
2007-02-01alias.c (init_alias_analysis): Correct whitespace.Roger Sayle1-2/+2
2007-02-01re PR middle-end/30656 (ICE with -ftrapv)Richard Guenther1-1/+1
2007-01-30fold-const.c (round_up): Make HIGH an unsigned HOST_WIDE_INT to avoid undefin...Roger Sayle1-11/+11
2007-01-28common.opt: Add fstrict-overflow.Ian Lance Taylor1-38/+39
2007-01-28tree.c (tree_fold_gcd): Delete.Roger Sayle1-2/+2
2007-01-28fold-const.c (size_binop): In the fast-paths for X+0...Roger Sayle1-11/+47
2007-01-26builtins.c (fold_builtin_1): Treat ccos and ccosh as 'even' functions.Kaveh R. Ghazi1-0/+9
2007-01-19fold-const.c (fold_unary): Optimize away a VIEW_CONVERT_EXPR to the same type...Roger Sayle1-0/+2
2007-01-13tree.h (force_fit_type_double): Remove unused final argument.Roger Sayle1-27/+19
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