comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <bauhaus@futureapps.invalid>
Subject: Re: Does `pragma inline` work when instantiating generic code?
Date: Sun, 26 Jul 2015 20:21:00 +0200
Date: 2015-07-26T20:21:00+02:00	[thread overview]
Message-ID: <mp38be$i2q$1@dont-email.me> (raw)
In-Reply-To: <12df0d47-d2d3-452b-8de8-27b50ae89c72@googlegroups.com>

On 26.07.15 13:15, EGarrulo wrote:
[Subject]
Yes, inlining works with generics; e.g., the GNAT User's Guide
explains how inlining (which requires optimization) affects
source dependence: inlining needs looking into bodies, thence
of instances. In fact, compiler switches are required for your
original example to produce any instructions at all. as it is devoid
of effects, so no op code needs to be generated.


      reply	other threads:[~2015-07-26 18:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-26 11:15 Does `pragma inline` work when instantiating generic code? EGarrulo
2015-07-26 18:21 ` Georg Bauhaus [this message]
replies disabled

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