This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: introduce --param max-vartrack-expr-depth
On May 30, 2011, Bernd Schmidt <bernds@codesourcery.com> wrote:
> On 05/30/2011 12:35 PM, Alexandre Oliva wrote:
>> One of my patches for PR 48866 regressed guality/asm-1.c on
>> x86_64-linux-gnu because what used to be a single complex debug value
>> expression became a chain of debug temps holding simpler expressions,
>> and this chain exceeded the default recursion depth in resolving
>> location expressions.
> What's the worst that can happen if you remove the limit altogether?
Exponential behavior comes to mind. I will try a bootstrap with a very
high value, but for pathological cases we'd probably still need the
param anyway, so I'll check it in. Thanks for the reviews.
--
Alexandre Oliva, freedom fighter http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/ FSF Latin America board member
Free Software Evangelist Red Hat Brazil Compiler Engineer