diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2009-10-27 11:18:12 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@gcc.gnu.org> | 2009-10-27 11:18:12 +0000 |
commit | b8b394019a87a2faeb53196b81616ceb62c96cbd (patch) | |
tree | d5d11c77efb17ed05216a32f510dbee6d52f9cb4 | |
parent | 583d1147c185e2e16c4797d29efb1392f042739c (diff) | |
download | gcc-b8b394019a87a2faeb53196b81616ceb62c96cbd.zip gcc-b8b394019a87a2faeb53196b81616ceb62c96cbd.tar.gz gcc-b8b394019a87a2faeb53196b81616ceb62c96cbd.tar.bz2 |
re PR bootstrap/41451 (Bootstrap failure with fold checking)
PR bootstrap/41451
* fold-const.c (fold_binary_loc): Do not call
protected_set_expr_location.
From-SVN: r153588
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/fold-const.c | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 17049c9..1698cb9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2009-10-27 Aldy Hernandez <aldyh@redhat.com> + + PR bootstrap/41451 + * fold-const.c (fold_binary_loc): Do not call + protected_set_expr_location. + 2009-10-27 Wei Guozhi <carrot@google.com> PR target/41705 diff --git a/gcc/fold-const.c b/gcc/fold-const.c index 102929d..3403938 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -10147,7 +10147,6 @@ fold_binary_loc (location_t loc, tem = fold_build2_loc (loc, code, type, fold_convert_loc (loc, TREE_TYPE (op0), TREE_OPERAND (arg0, 1)), op1); - protected_set_expr_location (tem, loc); tem = build2 (COMPOUND_EXPR, type, TREE_OPERAND (arg0, 0), tem); goto fold_binary_exit; } @@ -10157,7 +10156,6 @@ fold_binary_loc (location_t loc, tem = fold_build2_loc (loc, code, type, op0, fold_convert_loc (loc, TREE_TYPE (op1), TREE_OPERAND (arg1, 1))); - protected_set_expr_location (tem, loc); tem = build2 (COMPOUND_EXPR, type, TREE_OPERAND (arg1, 0), tem); goto fold_binary_exit; } |