aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
AgeCommit message (Expand)AuthorFilesLines
2015-10-29Allow CAST_RESTRICT foldingTom de Vries1-1/+0
2015-10-29re PR middle-end/68142 (unsafe association of multiplication)Richard Biener1-2/+11
2015-10-29alias.c: Reorder #include statements and remove duplicates.Andrew MacLeod1-11/+11
2015-10-29re PR middle-end/56956 (ftrapv traps on valid abs-like code)Richard Biener1-4/+2
2015-10-28fold-const.c (operand_equal_p): Do not verify that types are compatible for M...Jan Hubicka1-3/+0
2015-10-28fold-const.c (negate_expr_p): Adjust the division case to properly avoid intr...Richard Biener1-55/+28
2015-10-28re PR middle-end/68067 (Wrong constant folding)Richard Biener1-3/+16
2015-10-27Move min(max...) and max(min...) folds to match.pdRichard Sandiford1-51/+0
2015-10-23* fold-const.c (operand_equal_p): Handle VIEW_CONVERT_EXPR.Jan Hubicka1-0/+1
2015-10-23fold-const.c (operand_equal_p): Do not compare TYPE_MODE when comparing addre...Jan Hubicka1-3/+4
2015-10-23fold-const.c (operand_equal_p): Handle matching of vector constructors.Jan Hubicka1-0/+50
2015-10-23fold-const.c (fold_binary_loc): Move Fold (A & ~B) - (A & B) into (A ^ B) - B...Richard Biener1-44/+0
2015-10-23Move fold_trunc_transparent_mathfn to match.pdRichard Sandiford1-8/+214
2015-10-22fold-const.c (fold_addr_of_array_ref_difference): Properly convert operands b...Richard Biener1-45/+5
2015-10-21fold-const.c (operand_equal_p): Add code matching empty constructors.Jan Hubicka1-0/+5
2015-10-21tree.def (CEIL_DIV_EXPR, [...]): Tweak comments.Eric Botcazou1-3/+5
2015-10-21Remove fold_strip_sign_opsRichard Sandiford1-96/+0
2015-10-21Add a pass to back-propagate use informationRichard Sandiford1-2/+1
2015-10-21re PR tree-optimization/68031 (cc1 crashes when compiling newlib / mktm_r.c)Richard Biener1-21/+16
2015-10-21fold-const.c (fold_binary_loc): Move (-A) * (-B) -> A * B to match.pd.Richard Biener1-55/+0
2015-10-12fold-const.c (fold_comparsion): Pass OEP_ADDRESS_OF when comparing addresses.Jan Hubicka1-2/+3
2015-10-10fold-const.c (operand_equal_p): Document OEP_ADDRESS_OF and OEP_CONSTANT_ADDR...Jan Hubicka1-47/+86
2015-10-08Make tree_expr_nonnegative_warnv_p recurse into SSA namesRichard Sandiford1-87/+84
2015-10-05Replace REAL_VALUES_LESS with real_lessRichard Sandiford1-2/+2
2015-10-05Remove remaining uses of REAL_VALUES_IDENTICALRichard Sandiford1-2/+1
2015-10-05Replace REAL_VALUES_EQUAL with real_equalRichard Sandiford1-1/+1
2015-09-23re PR middle-end/67662 (-fsanitize=undefined cries wolf for X - 1 + X when X ...Richard Biener1-5/+12
2015-09-20switch from gimple to gimple*Trevor Saunders1-1/+1
2015-09-18re PR tree-optimization/66142 (Loop is not vectorized because not sufficient ...Richard Biener1-3/+26
2015-09-17Split up optabs.[hc]Richard Sandiford1-1/+1
2015-09-16re PR middle-end/67271 (ICE with -O1,2,3 on darwin14.5 x86_64)Richard Biener1-0/+4
2015-09-16re PR middle-end/67442 (GCC 5.2.0 on x86_64 creates invalid address on specif...Richard Biener1-2/+6
2015-09-08[fold-const.c] Fix bigendian HFmode in native_interpret_realAlan Lawrence1-6/+16
2015-09-03re PR tree-optimization/67351 (Missed optimisation on 64-bit field compared t...Naveen H.S1-26/+0
2015-08-31Move some comparison simplifications to match.pdMarc Glisse1-20/+0
2015-08-31Move some complex simplifications to match.pdMarc Glisse1-90/+0
2015-08-26fold-const.c (fold_binary_loc): Move Optimize root(x)*root(y) as root(x*y) to...Naveen H.S1-79/+0
2015-08-21fold-const.c (fold_binary_loc): Move sqrt(x)*sqrt(x) as x to match.pd.Naveen H.S1-189/+1
2015-08-17arm.c (neon_element_bits): Replace call to GET_MODE_BITSIZE (GET_MODE_INNER (...David Sherwood1-1/+1
2015-07-31fold-const.c (fold_binary_loc): Remove X ^ C1 == C2 -> X == (C1 ^ C2) which i...Richard Biener1-50/+0
2015-07-28arm.c (neon_element_bits, [...]): Call GET_MODE_INNER unconditionally.David Sherwood1-1/+1
2015-07-28fold-const.c (fold_comparison): Remove equality folding of decl addresses ...Richard Biener1-24/+0
2015-07-24re PR middle-end/66984 (ICE: fold_binary changes type of operand, causing fai...Gary Funck1-1/+3
2015-07-24fold-const.c (fold_binary_loc): Move simplifying of comparisons against the h...Richard Biener1-117/+0
2015-07-24fold-const.c (maybe_canonicalize_comparison_1): Move A code CST canonicalizat...Richard Biener1-66/+32
2015-07-24genmatch.c (add_operator): Allow SSA_NAME as predicate.Richard Biener1-26/+2
2015-07-23generic-match-head.c: Include cgraph.h.Richard Biener1-23/+0
2015-07-17fold-const.c (fold_binary_loc): Move A - (A & B) into ~B & A ...Marek Polacek1-24/+0
2015-07-16fold-const.c (fold_widened_comparison): Remove.Richard Biener1-158/+0
2015-07-15fold-const.c (fold_binary_loc): Move bool_var != 0 -> bool_var and bool_var =...Richard Biener1-10/+0