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: [PATCH] Add leafify attribute as hint for inlining



On Thu, 7 Jul 2005, Joseph S. Myers wrote:

> On Thu, 7 Jul 2005, Richard Guenther wrote:
> 
> > 	* gcc.dg/tree-ssa/leafify-1.c: New testcase.
> > 	* gcc.dg/tree-ssa/leafify-2.c: Likewise.
> 
> How do these test that leafify actually works (i.e. that the relevant 
> functions are made into leaf functions)?  I don't see anything scanning 
> dumps.

The second test actually tests that we finish compilation.  I could
not think of a portable way to test for "no calls" or something like
that.  Is scanning the asm for not having the labels for the inlined
functions portable?

Thanks for any hint,
Richard.


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