Re: [PR51570] minimize ENTRY_VALUEs in debug location lists

2012-04-09 Thread Jakub Jelinek
On Mon, Apr 09, 2012 at 02:50:02AM -0300, Alexandre Oliva wrote: > for gcc/ChangeLog > from Alexandre Oliva > > PR debug/51570 > * var-tracking.c (expand_depth): New type. > (onepart_aux, expand_loc_callback_data): Change depth type to it. > (loc_exp_dep_alloc): Adjust

[PR51570] minimize ENTRY_VALUEs in debug location lists

2012-04-08 Thread Alexandre Oliva
gcc.dg/guality/pr45003-*.c have regressed with reordering of the exploration of the loc expansion space, in a way that didn't always privilege expansions without ENTRY_VALUEs over ones with it. This patch fixes it, by ensuring that we'll only ever use ENTRY_VALUEs if we can't help it given a maxim