re PR middle-end/64088 (ICE: in fold_abs_const, at fold-const.c:15550)
authorRichard Biener <rguenther@suse.de>
Thu, 27 Nov 2014 14:22:29 +0000 (14:22 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 27 Nov 2014 14:22:29 +0000 (14:22 +0000)
commita92bf1b1c7942a6fb8af77bf8d90382aab60341f
tree5019f45050c3cfff3b6741586bbc44dd2531f212
parentc17eac85616572b7e1163cfb87d95a7875c89407
re PR middle-end/64088 (ICE: in fold_abs_const, at fold-const.c:15550)

2014-11-27  Richard Biener  <rguenther@suse.de>

PR middle-end/64088
* fold-const.c (const_unop): Re-instantiate missing condition
before calling fold_abs_const.

* gcc.dg/torture/pr64088.c: New testcase.

PR tree-optimization/64088
* tree-ssa-tail-merge.c (update_debug_stmt): After resetting
the stmt break from the loop over use operands.

* gcc.dg/torture/pr64091.c: New testcase.

From-SVN: r218128
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr64088.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/torture/pr64091.c [new file with mode: 0644]
gcc/tree-ssa-tail-merge.c