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: scheduling vs lexical scopes


On Fri, Dec 28, 2001 at 03:15:29PM -0800, Richard Henderson wrote:
> On Fri, Dec 28, 2001 at 09:52:11PM +0000, Jason Merrill wrote:
> > The fix for this is to emit the abstract function before any optimization
> > is done.  That's what debug_hooks->outlining_inline_function is for.  I
> > suppose we need to add such a call to expand_body if the function is
> > inline.  Does the attached untested patch do the trick?
> 
> 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.

	Jakub


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