comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: bug compiler ?
Date: Fri, 30 Jun 2017 13:20:34 -0500
Date: 2017-06-30T13:20:34-05:00	[thread overview]
Message-ID: <oj64pj$j2b$1@franka.jacob-sparre.dk> (raw)
In-Reply-To: c47d5433-8eb5-4dde-99f9-173f7dded62c@googlegroups.com

"AdaMagica" <christ-usch.grein@t-online.de> wrote in message 
news:c47d5433-8eb5-4dde-99f9-173f7dded62c@googlegroups.com...
> Just a guess: Maybe the compiler treats this simple statement function as 
> having convention intrinsic. Intrinsic functions have no address and 
> therefore no access is possible.
> Whether this is legal - check the RM - I'm too lazy.

It's legal. Expression functions aren't Intrinsic, they're just a short-hand 
for a usual function call. So this should be fine, and it seems that 
whatever is going on is not fine, so it is a compiler bug.

                            Randy.


      reply	other threads:[~2017-06-30 18:20 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-30  8:49 bug compiler ? bbaborum
2017-06-30 11:09 ` Lucretia
2017-06-30 14:49   ` Anh Vo
2017-06-30 15:03     ` Anh Vo
2017-06-30 18:47     ` Simon Wright
2017-06-30 19:42       ` Anh Vo
2017-07-02 16:43       ` bbaborum
2017-07-02 16:42   ` bbaborum
2017-06-30 15:11 ` AdaMagica
2017-06-30 18:20   ` Randy Brukardt [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