comp.lang.ada
 help / color / mirror / Atom feed
From: Damien <damien.carbonne@free.fr>
Subject: Re: pragma Inline in generic
Date: Wed, 20 Jul 2005 22:45:41 +0200
Date: 2005-07-20T22:45:41+02:00	[thread overview]
Message-ID: <42deb7f5$0$7314$636a15ce@news.free.fr> (raw)
In-Reply-To: <1121879427.142113.314140@z14g2000cwz.googlegroups.com>

nicolas.b a �crit :
> 
> I use gnat 5.02a1 : function "Length" seems not be Inline in generate
> code. Why? Thank you for your answer.
> 
I have never used gnat 5.02a1 but it must certainly behave like other 
versions of gnat with regard to inlining. Inlining depends on compiler 
options. IIRC, one needs -O2 optimisation level (at least) to obtain 
inlining.
The best is to read gnat user guide and search for inline.

Damien




  parent reply	other threads:[~2005-07-20 20:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-20 17:10 pragma Inline in generic nicolas.b
2005-07-20 19:40 ` Manuel G. R.
2005-07-20 20:45 ` Damien [this message]
2005-07-20 20:51   ` Damien
2005-07-27 13:52 ` Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox