Re: [tail-merge, PR84956] Don't merge bbs with bb_has_abnormal_pred

2018-03-22 Thread Richard Biener
On Thu, 22 Mar 2018, Tom de Vries wrote: > Hi, > > This fixes a 6/7/8 regression, a P3 ICE in the tail-merge pass. > > > Consider the test-case from the patch. > > When compiling at -O2, duplicates are found in tail-merge: > ... > find_duplicates: duplicate of > find_duplicates: duplicate o

[tail-merge, PR84956] Don't merge bbs with bb_has_abnormal_pred

2018-03-22 Thread Tom de Vries
Hi, This fixes a 6/7/8 regression, a P3 ICE in the tail-merge pass. Consider the test-case from the patch. When compiling at -O2, duplicates are found in tail-merge: ... find_duplicates: duplicate of find_duplicates: duplicate of ... So, tail-merge calls replace_block_by (bb7, bb6). Howev