Re: [PATCH] Fix TERed insn locations

2015-09-01 Thread Jakub Jelinek
On Tue, Sep 01, 2015 at 12:09:48PM +0200, Richard Biener wrote: > > So I finally got around to dig into why some testcases I inspected for > early LTO debug (and some existing guality FAILs) happen. They happen > because we screw up locations of insns coming from TERed SSA defs > which end up usi

[PATCH] Fix TERed insn locations

2015-09-01 Thread Richard Biener
So I finally got around to dig into why some testcases I inspected for early LTO debug (and some existing guality FAILs) happen. They happen because we screw up locations of insns coming from TERed SSA defs which end up using the TERed-into stmt location. So final re-building the BLOCK tree ends