This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: scheduling vs lexical scopes
>>>>> "Jakub" == Jakub Jelinek <jakub@redhat.com> writes:
> On Fri, Dec 28, 2001 at 03:15:29PM -0800, Richard Henderson wrote:
>> Yes, it fixes Jakub's debug-3.c test. His debug-4.c test is
>> still failing. Any ideas about that one?
> But would it fix debug-3.c at -O2 -g (where it was failing too)?
> There are no DECL_INLINE decls, so it shouldn't make any difference.
No, I would expect that to still break; this is a related, but separate
issue. My patch fixes the problem of inlined functions trying to refer to
the abstract function; this has to do with placement of the debug info for
nested functions. This should probably be fixed by attaching orphaned
nested functions to their containing function directly as a last resort.
I'll give it a try.
Jason