comp.lang.ada
 help / color / mirror / Atom feed
From: Gary Scott <garylscott@sbcglobal.net>
Subject: Re: Lack of formal syntax undermines Ada
Date: Sat, 12 Apr 2008 23:32:45 GMT
Date: 2008-04-12T23:32:45+00:00	[thread overview]
Message-ID: <xEbMj.1475$pS4.244@newssvr13.news.prodigy.net> (raw)
In-Reply-To: <wcck5j2on4y.fsf@shell01.TheWorld.com>

Robert A Duff wrote:
> Gary Scott <garylscott@sbcglobal.net> writes:
> 
> 
>>So there's no possibility of the optimizer making assumptions it
>>shouldn't and "simplifying something"?
> 
> 
> Not sure what you mean.  Can you give an example of such
> an assumption?
> 
> - Bob
In some languages that have pure functions, the compiler is free to not 
execute the function call if it can determine the return value by other 
means and so eliminate the code entirely (nor inline it).  I was 
thinking thinking there might be situations where a C procedure call 
might be optimized away based upon assumptions of purity (pureness?). 
Probably an outdated question based upon recent posts.

-- 

Gary Scott
mailto:garylscott@sbcglobal dot net

Fortran Library:  http://www.fortranlib.com

Support the Original G95 Project:  http://www.g95.org
-OR-
Support the GNU GFortran Project:  http://gcc.gnu.org/fortran/index.html

If you want to do the impossible, don't hire an expert because he knows 
it can't be done.

-- Henry Ford



  reply	other threads:[~2008-04-12 23:32 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-11  9:41 Lack of formal syntax undermines Ada usenet
2008-04-11 11:20 ` Peter C. Chapin
2008-04-15 12:57   ` usenet
2008-04-16  2:26     ` Peter C. Chapin
2008-04-16  3:14       ` Eric Hughes
2008-04-17  6:37     ` Randy Brukardt
2008-04-11 17:27 ` Georg Bauhaus
2008-04-11 18:13   ` Adam Beneschan
2008-04-11 21:25 ` John McCabe
2008-04-11 21:45   ` Robert A Duff
2008-04-11 22:37     ` John McCabe
2008-04-11 23:08       ` Adam Beneschan
2008-04-12  7:16         ` Dirk Craeynest
2008-04-14  7:23         ` Jean-Pierre Rosen
2008-04-12 12:57       ` Robert A Duff
2008-04-12 15:06         ` (see below)
2008-04-12 16:25           ` John McCabe
2008-04-12 17:55             ` (see below)
2008-04-12 22:19               ` John McCabe
2008-04-13  1:13                 ` (see below)
2008-04-13 11:51                   ` John McCabe
2008-04-13 14:13                     ` (see below)
2008-04-13 19:34                       ` John McCabe
2008-04-13 20:51                         ` (see below)
2008-04-13 21:06                           ` John McCabe
2008-04-12 17:16         ` Gary Scott
2008-04-12 18:43           ` Peter C. Chapin
2008-04-12 19:16             ` Gary Scott
2008-04-12 20:04               ` Robert A Duff
2008-04-12 23:32                 ` Gary Scott [this message]
2008-04-13  1:16                   ` Robert A Duff
2008-04-12 20:02           ` Robert A Duff
2008-04-12 20:52             ` Pascal Obry
2008-04-13 22:01       ` Florian Weimer
2008-04-13  9:46 ` anon
2008-04-15 13:22   ` usenet
2008-04-15 16:08     ` Adam Beneschan
2008-04-13 22:04 ` Florian Weimer
replies disabled

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