aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
AgeCommit message (Expand)AuthorFilesLines
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
2005-07-08Makefile.in (TREE_H): Add treestruct.def.Daniel Berlin1-7/+7
2005-07-02re PR tree-optimization/14490 ([tree-ssa] Simplify "a - 10 > 150" into "a > 1...Andrew Pinski1-2/+26
2005-06-25Update FSF address.Kelley Cook1-2/+2
2005-06-20fold-const.c (swap_tree_comparison): Add support for unordered floating point...Roger Sayle1-0/+12
2005-06-18fold_const (fold_binary): Fold X % (2**N) to X & (2**N - 1) for nonnegative v...James A. Morrison1-5/+5
2005-06-16re PR tree-optimization/22035 (complex float comparison broken)Richard Henderson1-356/+0
2005-06-13re PR middle-end/21985 (miscompiled or wrong code snippet?)Zdenek Dvorak1-3/+1
2005-06-13re PR tree-optimization/14796 ([tree-ssa] combine two shifts into one)James A. Morrison1-8/+7
2005-06-12re PR tree-optimization/14796 ([tree-ssa] combine two shifts into one)James A. Morrison1-0/+53
2005-06-06re PR middle-end/21897 (Segementation fault in fold_ternary)Jakub Jelinek1-3/+6
2005-06-03re PR middle-end/21858 (ICE in compare_values, at tree-vrp.c:301)Richard Guenther1-4/+8
2005-06-01[multiple changes]Diego Novillo1-2/+1
2005-06-01stmt.c (expand_case): Use build_int_cst.Richard Guenther1-2/+5
2005-06-01tree.h (fold_indirect_ref_1): Export from fold-const.c.Richard Guenther1-1/+1
2005-06-01* fold-const.c (fold_ternary): Optimize BIT_FIELD_REF of VECTOR_CST.Jakub Jelinek1-0/+23