aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
AgeCommit message (Expand)AuthorFilesLines
2003-09-01c-typeck.c (build_binary_op): Kill BIT_ANDTC_EXPR.Josef Zlomek1-23/+9
2003-08-26re PR middle-end/12002 (internal compiler error: in gen_lowpart, at emit-rtl....Roger Sayle1-1/+2
2003-08-26fold-const.c (fold <MULT_EXPR>): Optimize (C1/X)*C2 into (C1*C2)/X when unsaf...Roger Sayle1-10/+33
2003-08-22c-decl.c: Fix comment formatting.Kazu Hirata1-1/+1
2003-08-21fold-const.c (fold): Fix bug in (A & C) == D where D & ~C != 0 and similarly ...Josef Zlomek1-2/+2
2003-08-20re PR middle-end/11984 (ICE with -ffast_math: expected integer_cst, have real...Roger Sayle1-1/+3
2003-08-20tree.h (IS_EXPR_CODE_CLASS): Also include 'r' and 's'.Jason Merrill1-1/+1
2003-08-20builtins.c (expand_builtin_mathfn): Use get_callee_fndecl.Jason Merrill1-63/+59
2003-08-19builtins.c: Fix comment typos.Kazu Hirata1-1/+1
2003-08-14fold-const.c (negate_expr_p): MULT_EXPRs and RDIV_EXPRs are easy to negate if...Roger Sayle1-5/+62
2003-08-12fold-const.c (fold): Optimize any associative floating point operator with...Roger Sayle1-5/+3
2003-08-04re PR middle-end/11771 (Segfault with simple double arithmetics)Roger Sayle1-1/+4
2003-08-04fold-const.c (fold <PLUS_EXPR>): Transform x+x into x*2.0.Roger Sayle1-15/+64
2003-08-01fold-const.c (fold <MULT_EXPR>): Optimize both x*pow(x,c) and pow(x,c)*x as p...Roger Sayle1-0/+98
2003-07-31* fold-const.c (fold): Fold some comparisons of bit operations.Zdenek Dvorak1-0/+28
2003-07-28configure.in (--enable-checking): Add fold category.Jakub Jelinek1-7/+236
2003-07-22fold-const.c (force_fit_type): Handle OFFSET_TYPE.Mark Mitchell1-1/+2
2003-07-22alias.c: Fix comment formatting.Kazu Hirata1-2/+2
2003-07-19alias.c [...]: Remove unnecessary casts.Kaveh R. Ghazi1-4/+4
2003-07-18fold-const.c (const_binop): Avoid performing the FP operation at compile-time...Roger Sayle1-4/+44
2003-07-10re PR c/11449 (ICE in invert_truthvalue called on AND operation)Kazu Hirata1-10/+22
2003-07-10* fold-const.c: Properly wrap prototypes.Andreas Jaeger1-28/+41
2003-07-09fold-const.c (make_range): Do not access operand 1 for a zero-operand operator.Mark Mitchell1-1/+2
2003-07-07genextract.c: Convert remaining prototypes to ISO C90.Andreas Jaeger1-5/+2
2003-07-04expr.c (do_store_flag): Pass in the correct result type when calling fold_sin...Jeff Law1-1/+1
2003-07-03real.c (real_trunc, [...]): New functions to implement trunc, floor and ceil ...Roger Sayle1-0/+11
2003-07-03re PR target/10700 (ICE in copy_to_mode_reg on 64-bit targets)Roger Sayle1-19/+0
2003-07-02expr.c (do_store_flag): Remove special case folding for single bit tests.Jeff Law1-17/+116
2003-07-02re PR rtl-optimization/11210 (optimizer drops conditional with typecast from ...Eric Botcazou1-0/+14
2003-07-01fold-const.c: Convert prototypes to ISO C90.Andreas Jaeger1-312/+148
2003-07-01basic-block.h: Fix comment typos.Kazu Hirata1-1/+1
2003-06-29alloc-pool.c: Fix comment formatting.Kazu Hirata1-1/+1
2003-06-29re PR rtl-optimization/11210 (optimizer drops conditional with typecast from ...Eric Botcazou1-2/+1
2003-06-26re PR rtl-optimization/11210 (optimizer drops conditional with typecast from ...Eric Botcazou1-1/+2
2003-06-23basic-block.h: Fix comment formatting.Kazu Hirata1-1/+1
2003-06-16decl.c, [...]: Don't use the PTR macro.Kaveh R. Ghazi1-2/+2
2003-06-16fold-const.c (operand_equal_p): Consider two calls to "const" functions with ...Roger Sayle1-2/+44
2003-06-13builtins.c: Fix comment typos.Kazu Hirata1-2/+2
2003-06-13fold-const.c (tree_expr_nonnegative_p): Fix misspelling of "least".Matt Kraai1-1/+1
2003-06-12re PR middle-end/168 (Spurious signed/unsigned comparison warning)Roger Sayle1-7/+78
2003-06-12fold-const.c (tree_expr_nonnegative_p): Add support for floating point consta...Roger Sayle1-1/+21
2003-06-10builtins.c (fold_builtin): Optimize cos(-x) as cos(x).Roger Sayle1-0/+119
2003-06-10fold-const.c (fold <EQ_EXPR>): Don't fold x == x only if x is a floating poin...Roger Sayle1-3/+6
2003-06-09* fold-const.c (operand_equal_p): Handle ADDR_EXPR and TRUTH_NOT_EXPR.Jason Merrill1-3/+13
2003-06-09* fold-const.c (fold): Fix a comment typo.Kazu Hirata1-1/+1
2003-06-06fold-const.c (fold <ABS_EXPR>): Re-fold the result of folding fabs(-x) into f...Roger Sayle1-16/+47
2003-05-31flags.h (flag_wrapv): New flag controlling overflow semantics.Roger Sayle1-1/+3
2003-05-27tree.h (contains_placeholder_p): Now returns bool.Richard Kenner1-8/+9
2003-05-23real.c (real_maxval): New function to return the largest finite value represe...Roger Sayle1-7/+33
2003-04-22fold-const.c (fold_range_test): Use RANGE_TEST_NON_SHORT_CIRCUIT macro defaul...David Edelsohn1-1/+5