On Sat, Nov 03, 2012 at 02:11:22PM -0200, Alexandre Oliva wrote: > I didn't try delaying the creation of the pointer set as you did, but > I'm now thinking using a linear on-stack vector for searches up to some > size might be even faster than creating the pointer set at the first > var.
THat would be a nice thing as a follow-up (say up to 8 or 16 decls). > Propagate debug stmts only after decision to thread. > > From: Alexandre Oliva <aol...@redhat.com> > > for gcc/ChangeLog > > PR debug/54693 > * tree-ssa-threadedge.c (propagate_threaded_block_debug_into): > New, rewritten from debug stmt copying code... > (thread_around_empty_block): ... removed from here. > (thread_across_edge): Call propagate_threaded_block_debug_into. Ok, thanks. Jakub