[tree-ssa] live analysis on local static functions

Jan Hubicka jh@suse.cz
Fri Oct 17 02:06:00 GMT 2003


> On Thu, Oct 16, 2003 at 09:36:44AM +0200, Jan Hubicka wrote:
> > This is no fun.  THere are number of functions in reload inlined because
> > they are called once and apparently one of them kills datastructures
> > (reload fails in the final sanity check on frame offsets to match again
> > only on compiling large function - it is able to get trought half of
> > stage3)
> 
> Didn't you say you have a patch that makes things work again?

I made patch to work around the unreferenced symbol problem (I am just
testing more proper fix but it is equivaelnt in the functionality on C
bootstrap), but still I get failures later in the process
when I enable unit-at-a-time.

With the snapshot I have at home I get the misscompilation in reload.
There are no differences in dump files of stage1 and stage2 compiler
(except for addresses) up to reload and reload manges to mess something
up, so it looks like debugging nightmare.  Only I know is that the
problem disappears when I disable inlining of functions called once

However with current snapshot I get failures much earlier and also bogus
warnings about unused variables.  So I will debug these first and
hopefully it will make the later to disappear.  In case it won't I will
try to debug it or we can for disabling of the functions called once
optimization instead of whole unit-at-a-time until the branch gets fixed
wrt inlining.

Thanks for all the help with the inlining issue!
Honza
> Diff dumps between that patch and the prospective.
> 
> 
> r~



More information about the Gcc mailing list