aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
AgeCommit message (Expand)AuthorFilesLines
2015-07-02builtins.c (get_pointer_alignment_1): Handle POINTER_PLUS_EXPR.Richard Biener1-84/+8
2015-07-01fold-const.c (fold_comparison): Move X - Y CMP 0 -> X CMP Y...Richard Biener1-105/+0
2015-07-01fold-const.c (fold_binary_loc): Move ~X ^ X -> -1 and (X & Y) ^ Y -> ~X & Y t...Richard Biener1-57/+0
2015-06-30fold-const.c (fold_binary_loc): Move ~x & ~y -> ~(x | y) and ~x | ~y -> ~(x &...Richard Biener1-119/+0
2015-06-30fold-const.c (fold_unary_loc): Move abs(abs(x)) -> abs(x)...Richard Biener1-28/+6
2015-06-30fold-const.c (fold_binary_loc): Move ~X | X folding ...Marek Polacek1-18/+0
2015-06-30target-insns.def (canonicalize_funcptr_for_compare): Add.Richard Biener1-9/+3
2015-06-29fold-const.c (fold_binary_loc): Move X - (X / Y) * Y -> X % Y to ...Marek Polacek1-13/+0
2015-06-29genmatch.c (add_operator): Treat ADDR_EXPR as atom.Richard Biener1-10/+0
2015-06-26fold-const.c (fold_binary_loc): Remove -A CMP -B -> A CMP B and -A CMP CST ->...Richard Biener1-59/+0
2015-06-25function.h (ipa_opt_pass, [...]): Move forward declarations.Andrew MacLeod1-2/+0
2015-06-25hash-table.h: Update comments.Richard Sandiford1-9/+9
2015-06-25fold-const.c (fold_binary_loc): Move simplification of (X <<>> C1) & C2 ...Richard Biener1-100/+0
2015-06-22Use std::swap instead of manual swaps.Mikhail Maltsev1-3/+1
2015-06-17coretypes.h: Include input.h and as-a.h.Andrew MacLeod1-2/+0
2015-06-08coretypes.h: Include hash-table.h and hash-set.h for host files.Andrew MacLeod1-7/+0
2015-06-04coretypes.h: Include machmode.h...Andrew MacLeod1-5/+0
2015-05-26fold-const.c (fold_binary_loc): Move X % -Y -> X % Y and X % C -> X & (C - 1)...Richard Biener1-37/+0
2015-05-26match.pd (swapped_tcc_comparison): New operator list.Marc Glisse1-13/+0
2015-05-22re PR other/63387 (Optimize pairs of isnan() calls into a single isunordered())Marc Glisse1-1/+1
2015-05-19Use std::swap instead of explicit swapsMikhail Maltsev1-6/+2
2015-04-17Handle internal_fn in operand_equal_pTom de Vries1-4/+19
2015-03-12re PR ipa/65270 (issues with merging memory accesses from different code paths)Richard Biener1-12/+10
2015-03-09re PR ipa/65270 (issues with merging memory accesses from different code paths)Richard Biener1-10/+25
2015-03-04fold-const.c (round_up_loc): Cast divisor to signed on all paths before negat...Eric Botcazou1-3/+3
2015-03-03fold-const.c (round_up_loc): Cast divisor to HOST_WIDE_INT before negating it.Eric Botcazou1-1/+1
2015-02-12re PR tree-optimization/65014 (ice with error: type mismatch in shift express...Jakub Jelinek1-3/+6
2015-01-22* fold-const.c (const_binop): Add early return for non-tcc_binary.Eric Botcazou1-0/+4
2015-01-22make fold ignore decl_with_vis.symtab_nodeTrevor Saunders1-2/+3
2015-01-15dojump.h: New header file.Prathamesh Kulkarni1-5/+13
2015-01-09genattrtab.c (write_header): Include hash-set.h...Michael Collison1-2/+34
2015-01-05Update copyright years.Jakub Jelinek1-1/+1
2014-12-15re PR middle-end/64292 (FAIL: g++.dg/torture/pr60474.C -O1 (internal compi...Marek Polacek1-1/+1
2014-12-12re PR middle-end/64274 ([ARM] gcc.target/arm/fixed-point-exec.c ICE in fold_b...Marek Polacek1-1/+2
2014-12-12real.h (HONOR_SNANS, [...]): Replace macros with 3 overloaded declarations.Marc Glisse1-3/+3
2014-12-11fold-const.c (fold_negate_expr): Add ANY_INTEGRAL_TYPE_P check.Marek Polacek1-9/+18
2014-12-10real.h (HONOR_NANS): Replace macro with 3 overloaded declarations.Marc Glisse1-16/+16
2014-12-09re PR tree-optimization/64199 (ICE: tree check: expected class 'constant', ha...Richard Biener1-2/+2
2014-12-07symtab.c (symtab_node::equal_address_to): New function.Jan Hubicka1-37/+24
2014-12-04re PR middle-end/56917 (-ftrapv detects a overflow wrongly.)Marek Polacek1-3/+8
2014-12-03builtins.c (fold_builtin_fpclassify): Change to take array of arguments inste...Richard Biener1-0/+2
2014-12-01fold-const.c (const_binop): Handle POINTER_PLUS_EXPR.Richard Biener1-104/+109
2014-12-01re PR tree-optimization/64126 (FAIL: gcc.dg/pr37289.c scan-tree-dump original...Richard Biener1-13/+0
2014-11-27re PR middle-end/64088 (ICE: in fold_abs_const, at fold-const.c:15550)Richard Biener1-1/+3
2014-11-26fold-const.h (const_unop): Declare.Richard Biener1-149/+206
2014-11-21PR debug/38757 gcc does not emit DW_LANG_C99.Mark Wielaard1-1/+1
2014-11-21Revert: Workaround following [PATCH] Pul all constants last in tree_swap_oper...Alan Lawrence1-2/+2
2014-11-19re PR middle-end/63879 (ICE compiling Linux Kernel fs/ext3/namei.c with -fsan...Marek Polacek1-2/+5
2014-11-18tree.c (element_mode, [...]): New functions.Marc Glisse1-45/+45
2014-11-14fold-const.c (fold_negate_expr): Don't fold INTEGER_CST if that overflows whe...Marek Polacek1-2/+5