Re: [patch RFA middle-end] Fix PR middle-end/49220

2012-11-07 Thread Kaz Kojima
Uros Bizjak wrote: > Please also add the testcase from the PR to the testsuite. For the record, I've committed the testcase below from the PR. Regards, kaz -- 2012-11-07 Kaz Kojima * gcc.c-torture/compile/pr49220.c: New test. --- ORIG/trunk/gcc/testsuite/gcc.c-torture/compil

Re: [patch RFA middle-end] Fix PR middle-end/49220

2012-11-07 Thread Uros Bizjak
On Wed, Nov 7, 2012 at 10:57 AM, Eric Botcazou wrote: >> 2012-11-07 Kaz Kojima >> >> PR middle-end/49220 >> * mode-switching.c (create_pre_exit): Set short_block if there >> are no copy insns. > > OK, but clearly a rewrite of the function would be in order. Please also add th

Re: [patch RFA middle-end] Fix PR middle-end/49220

2012-11-07 Thread Eric Botcazou
> 2012-11-07 Kaz Kojima > > PR middle-end/49220 > * mode-switching.c (create_pre_exit): Set short_block if there > are no copy insns. OK, but clearly a rewrite of the function would be in order. -- Eric Botcazou

[patch RFA middle-end] Fix PR middle-end/49220

2012-11-07 Thread Kaz Kojima
Hi, The attached is yet another create_pre_exit patch to fix PR middle-end/49220 which is an ice-on-invalid-code. It's for non-void function which returns without value. The patch is tested with bootstrap and the top level "make -k check" on i686-pc-linux-gnu with no new failures and regtested o