aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.cc
AgeCommit message (Expand)AuthorFilesLines
2023-10-19PR111648: Fix wrong code-gen due to incorrect VEC_PERM_EXPR folding.Prathamesh Kulkarni1-11/+103
2023-10-16use more get_range_queryJiufu Guo1-5/+1
2023-10-12wide-int: Allow up to 16320 bits wide_int and change widest_int precision to ...Jakub Jelinek1-3/+11
2023-10-10tree-optimization/111751 - support 1024 bit vector constant reinterpretationRichard Biener1-2/+2
2023-09-29Remove poly_int_podRichard Sandiford1-2/+2
2023-09-12fold-const: Handle BITINT_TYPE in range_check_typeJakub Jelinek1-1/+6
2023-09-09Support folding min(poly,poly) to constLehua Ding1-0/+24
2023-09-07middle-end: Avoid calling targetm.c.bitint_type_info inside of gcc_assert [PR...Jakub Jelinek1-4/+4
2023-09-06Middle-end _BitInt support [PR102989]Jakub Jelinek1-9/+66
2023-08-21PR111048: Set arg_npatterns correctly.Prathamesh Kulkarni1-7/+37
2023-08-18tree-optimization/111048 - avoid flawed logic in fold_vec_permRichard Biener1-6/+6
2023-08-16Extend fold_vec_perm to handle VLA vector_cst.Prathamesh Kulkarni1-21/+778
2023-07-18c++: constexpr bit_cast with empty fieldJason Merrill1-1/+2
2023-06-30fold-const+optabs: Change return type of predicate functions from int to boolUros Bizjak1-34/+34
2023-06-23Fix tree_simple_nonnegative_warnv_p for VECTOR_TYPEsRichard Biener1-1/+2
2023-06-23Bogus and missed folding on vector comparesRichard Biener1-2/+2
2023-06-16tree-optimization/110269 - restore missed condition foldingRichard Biener1-7/+0
2023-06-13middle-end/110232 - fix native interpret of vector <signed-boolean:1>Richard Biener1-7/+4
2023-05-30Add a != MIN/MAX_VALUE_CST ? CST-+1 : a to minmax_from_comparisonAndrew Pinski1-0/+26
2023-05-23Fix handling of non-integral bit-fields in native_encode_initializerEric Botcazou1-10/+17
2023-05-20Move fold_single_bit_test to expr.cc from fold-const.ccAndrew Pinski1-112/+0
2023-05-18gcc: use _P() defines from tree.hBernhard Reutner-Fischer1-24/+22
2023-05-01Conversion to irange wide_int API.Aldy Hernandez1-2/+1
2023-04-28MATCH: Factor out code that for min max detection with constantsAndrew Pinski1-0/+44
2023-04-04sanitizer: missing signed integer overflow errors [PR109107]Marek Polacek1-1/+2
2023-03-23c: [PR84900] cast of compound literal does not cause the code to become a non...Andrew Pinski1-0/+1
2023-03-09middle-end/108995 - avoid folding when sanitizing overflowRichard Biener1-4/+3
2023-03-02fold-const: Ignore padding bits in native_interpret_expr REAL_CST reverse ver...Jakub Jelinek1-2/+4
2023-01-04ubsan: Avoid narrowing of multiply for -fsanitize=signed-integer-overflow [PR...Jakub Jelinek1-1/+3
2023-01-02Update copyright years.Jakub Jelinek1-1/+1
2022-12-20fold-const: Treat fp conversion to a type with same mode as copyKewen Lin1-0/+9
2022-12-20fold: fix use of protected_set_expr_location_unshareJason Merrill1-1/+1
2022-12-20c++: source position of lambda captures [PR84471]Jason Merrill1-1/+1
2022-12-12Revert parts of ADDR_EXPR/CONSTRUCTOR treatment change in match.pdRichard Biener1-0/+9
2022-12-02Fix a few incorrect accesses.Andrew MacLeod1-3/+3
2022-11-24Remove ASSERT_EXPR.Aldy Hernandez1-6/+0
2022-11-04Fix recent thinko in operand_equal_pEric Botcazou1-14/+4
2022-10-31builtins: Add various complex builtins for _Float{16,32,64,128,32x,64x,128x}Jakub Jelinek1-0/+37
2022-10-31builtins: Add various __builtin_*f{16,32,64,128,32x,64x,128x} builtinsJakub Jelinek1-0/+27
2022-10-06c++, c: Implement C++23 P1774R8 - Portable assumptions [PR106654]Jakub Jelinek1-15/+13
2022-08-09middle-end: Optimize ((X >> C1) & C2) != C3 for more cases.Roger Sayle1-54/+0
2022-06-20middle-end/106027 - fix types in needle foldingRichard Biener1-3/+7
2022-05-27fold-const: Fix up -fsanitize=null in C++ [PR105729]Jakub Jelinek1-0/+10
2022-05-13Make gimple_build main workers more flexibleRichard Biener1-0/+1
2022-04-13tree-optimization/105250 - adjust fold_convertible_p PR105140 fixRichard Biener1-4/+3
2022-04-08fold-const: Fix up make_range_step [PR105189]Jakub Jelinek1-1/+27
2022-04-04middle-end/105140 - fix bogus recursion in fold_convertible_pRichard Biener1-2/+3
2022-03-24fold-const: Handle C++ dependent COMPONENT_REFs in operand_equal_p [PR105035]Jakub Jelinek1-2/+5
2022-02-22Implement constant-folding simplifications of reductions.Roger Sayle1-0/+20
2022-02-15fold, simplify-rtx: Punt on non-representable floating point constants [PR104...Jakub Jelinek1-15/+19