On Fri, 2008-01-04 at 01:23 -0800, Maxim Reznik wrote:
> On Jan 3, 10:22 pm, Lucretia <lucret...@[EMAIL PROTECTED]
> wrote:
> > Yes, I know of it. Incomplete (I don't know by how much though). Also,
> > a guy in #Ada has informed me the code generation is not great.
> >
> What do guys at #Ada say about GNAT generated code?
$ objdump --disassemble test.o
test.o: file format elf64-x86-64
Disassembly of section .text:
0000000000000000 <_ada_test>:
0: 8d 47 01 lea 0x1(%rdi),%eax
3: c3 retq
$
For:
> procedure Test (X : in out Integer)
> is
> begin
> X := X +
> 1;
> end
> Test;
Have you instructed GNAT to not perform any kind of
optimization?
Is this an option using Gela? (For example, to verify
close correspondence of source and object code.)


|