Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Ada > Re: Restricted ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 5475 of 5922
Post > Topic >>

Re: Restricted or no run time in Ada

by Georg Bauhaus <rm.tsoh+bauhaus@[EMAIL PROTECTED] > Jan 4, 2008 at 01:46 PM

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.)
 




 3 Posts in Topic:
Re: Restricted or no run time in Ada
Georg Bauhaus <rm.tsoh  2008-01-04 13:46:05 
Re: Restricted or no run time in Ada
Vadim Godunko <vgodunk  2008-01-04 05:53:31 
Re: Restricted or no run time in Ada
Maxim Reznik <reznikmm  2008-01-04 06:13:19 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 6 18:12:00 CDT 2008.