From: "Manuel G. R." <mgrojo@ya.com>
Subject: Re: pragma Inline in generic
Date: Wed, 20 Jul 2005 21:40:53 +0200
Date: 2005-07-20T21:40:53+02:00 [thread overview]
Message-ID: <dbm9e1$ll6$1@news.ya.com> (raw)
In-Reply-To: <1121879427.142113.314140@z14g2000cwz.googlegroups.com>
Try the -gnatn switch. GNAT by default does not inline subprograms calls
outside of the package where they are defined.
-gnatn
Activate inlining across unit boundaries for subprograms for which
pragma `inline' is specified.
nicolas.b wrote:
> I use gnat 5.02a1 : function "Length" seems not be Inline in generate
> code. Why? Thank you for your answer.
>
--
Ada programming tutorial: http://en.wikibooks.org/wiki/Programming:Ada
Tutorial de programaci�n en Ada:
http://es.wikibooks.org/wiki/Programaci%C3%B3n_en_Ada
next prev parent reply other threads:[~2005-07-20 19:40 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. [this message]
2005-07-20 20:45 ` Damien
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