On Wed, Dec 14, 2016 at 11:38:29AM +0100, Richard Biener wrote: > > The following prevents expand_cond_expr_using_cmove from going berzerk > with a large TER tree containing several cond-exprs that eventually > end up failing expansion as cmove. The attempt to re-do TER failed > somehow earlier this year so the following is a simple stop-gap solution. > > Bootstrap & regtest ongoing on x86_64-unknown-linux-gnu.
LGTM. > 2016-12-14 Richard Biener <rguent...@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. Jakub