re PR middle-end/71632 (hang at -O3 on x86_64-linux-gnu)
authorRichard Biener <rguenther@suse.de>
Fri, 16 Dec 2016 09:38:18 +0000 (09:38 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 16 Dec 2016 09:38:18 +0000 (09:38 +0000)
commitc4d5c5e6ac73cac2b89d039eff9874ff80742589
tree5ca4810e059a745910ac4104d358ec371aca2b33
parent7bd1e2edf9a0456062dfd7cbc47b46d93239e997
re PR middle-end/71632 (hang at -O3 on x86_64-linux-gnu)

2016-12-16  Richard Biener  <rguenther@suse.de>

PR middle-end/71632
* expr.c (expand_cond_expr_using_cmove): Bail out early if
we end up recursing via TER.

* gcc.dg/pr71632.c: New testcase.

From-SVN: r243737
gcc/ChangeLog
gcc/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr71632.c [new file with mode: 0644]