From fabd13b4a91487527ea8100d6a23f01b638135b4 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 26 Nov 2010 10:36:29 +0100 Subject: [PATCH] re PR bootstrap/45700 (--enable-checking=fold bootstrap failures) PR bootstrap/45700 * tree.h (build1_stat_loc, build2_stat_loc, build3_stat_loc, build4_stat_loc, build5_stat_loc, build6_stat_loc): New inlines. (build1_loc, build2_loc, build3_loc, build4_loc, build5_loc, build6_loc): Define. * fold-const.c (protected_set_expr_location_unshare): New inline. (fold_convert_loc, pedantic_non_lvalue_loc): Use it. (negate_expr, associate_trees, non_lvalue_loc, omit_one_operand_loc, pedantic_omit_one_operand_loc, omit_two_operands_loc, fold_truth_not_expr, invert_truthvalue_loc, make_bit_field_ref, optimize_bit_field_compare, make_range, fold_range_test, fold_truthop, build_fold_addr_expr_with_type_loc, fold_unary_loc, fold_binary_loc, fold_indirect_ref_1, build_fold_indirect_ref_loc): Use builN_loc instead of buildN followed by SET_EXPR_LOCATION or protected_set_expr_location. (fold_build1_stat_loc, fold_build2_stat_loc, fold_build3_stat_loc): Use buildN_stat_loc instead of buildN_stat followed by SET_EXPR_LOCATION. * trans.h (build1_stat_loc, build2_stat_loc, build3_stat_loc, build4_stat_loc): Removed. (build1_loc, build2_loc, build3_loc, build4_loc): Removed. From-SVN: r167169 --- gcc/fortran/ChangeLog | 7 +++++++ gcc/testsuite/ChangeLog | 7 ------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index fa1dc77166c..a79b91d8b7e 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,10 @@ +2010-11-26 Jakub Jelinek + + PR bootstrap/45700 + * trans.h (build1_stat_loc, build2_stat_loc, build3_stat_loc, + build4_stat_loc): Removed. + (build1_loc, build2_loc, build3_loc, build4_loc): Removed. + 2010-11-25 Janus Weil PR fortran/46581 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2f4df678dcf..e8e33412a5e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,10 +1,3 @@ -2010-11-26 Jakub Jelinek - - PR bootstrap/45700 - * trans.h (build1_stat_loc, build2_stat_loc, build3_stat_loc, - build4_stat_loc): Removed. - (build1_loc, build2_loc, build3_loc, build4_loc): Removed. - 2010-11-25 Janus Weil PR fortran/46581