Re: [PATCH, PR61554] ICE during CCP

2014-06-23 Thread Chung-Lin Tang
On 2014/6/23 04:45 PM, Richard Biener wrote: > On Mon, Jun 23, 2014 at 7:32 AM, Chung-Lin Tang > wrote: >> Hi Richard, >> >> In this change: >> https://gcc.gnu.org/ml/gcc-patches/2014-06/msg01278.html >> >> where substitute_and_fold() was changed to use a dom walker, the calls >> to purge dead EH

Re: [PATCH, PR61554] ICE during CCP

2014-06-23 Thread Richard Biener
On Mon, Jun 23, 2014 at 7:32 AM, Chung-Lin Tang wrote: > Hi Richard, > > In this change: > https://gcc.gnu.org/ml/gcc-patches/2014-06/msg01278.html > > where substitute_and_fold() was changed to use a dom walker, the calls > to purge dead EH edges during the walk can alter the dom-tree, and have >

[PATCH, PR61554] ICE during CCP

2014-06-22 Thread Chung-Lin Tang
Hi Richard, In this change: https://gcc.gnu.org/ml/gcc-patches/2014-06/msg01278.html where substitute_and_fold() was changed to use a dom walker, the calls to purge dead EH edges during the walk can alter the dom-tree, and have chaotic results; the testcase in PR 61554 has some blocks traversed t