This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PR54693] loss of debug info in jump threading and loop ivopts


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 <aoliva@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]