comp.lang.ada
 help / color / mirror / Atom feed
From: "Yannick Duchêne Hibou57" <yannick_duchene@yahoo.fr>
Subject: Re: Performance of access type : a tiny mistake in the WikiBook ?
Date: Thu, 8 Oct 2009 09:04:10 -0700 (PDT)
Date: 2009-10-08T09:04:10-07:00	[thread overview]
Message-ID: <f3f9e9fb-1a6c-4b82-9d13-85b5feda21b0@q14g2000vbi.googlegroups.com> (raw)
In-Reply-To: 87659df3-42a8-456b-9788-f37c4c1cbdb1@o21g2000vbl.googlegroups.com

On 8 oct, 11:55, Gautier write-only <gautier_niou...@hotmail.com>
wrote:
> The call P_in(5678,s) is compiled by GNAT GPL 2008 with (-gnatp -O2)
> as:
>
>         movl    %edi, %edx
>         movl    %esi, %ecx
>         movl    $5678, %eax
>         call    _test_in_out__p_in.1893

I was always using the -S option to be passed to GCC, but this was not
building to whole application, so this was not meaningful.

I've just learned the -save-temps is to be used instead : this keep
assembly files *and* build the whole application (providing the
compiler is or is based on GCC)

Otherwise generics does not show anything, this option solve to it.

Do some one have examples from other Ada compilers ? (GNAT is not the
only one).



  reply	other threads:[~2009-10-08 16:04 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-07 20:59 Performance of access type : a tiny mistake in the WikiBook ? Hibou57 (Yannick Duchêne)
2009-10-07 22:38 ` (see below)
2009-10-07 23:30   ` Yannick Duchêne Hibou57
2009-10-08  0:30     ` (see below)
2009-10-08  0:48       ` Yannick Duchêne Hibou57
2009-10-08  9:11         ` Dmitry A. Kazakov
2009-10-08  9:55         ` Gautier write-only
2009-10-08 16:04           ` Yannick Duchêne Hibou57 [this message]
2009-10-08 16:46             ` Yannick Duchêne Hibou57
2009-10-08 19:41             ` Gautier write-only
2009-10-09  6:14               ` Yannick Duchêne Hibou57
2009-10-09 18:51                 ` sjw
replies disabled

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