comp.lang.ada
 help / color / mirror / Atom feed
From: aschwarz@acm.org (skidmarks)
Subject: Re: Semantics of Inline vs non-Inline
Date: 15 Oct 2004 09:57:55 -0700
Date: 2004-10-15T09:57:55-07:00	[thread overview]
Message-ID: <35f054ea.0410150857.79165644@posting.google.com> (raw)
In-Reply-To: x7vpt3k34yp.fsf@smaug.pushface.org

Simon Wright <simon@pushface.org> wrote in message news:<x7vpt3k34yp.fsf@smaug.pushface.org>...

> GNAT has occasionally told me that something couldn't be inlined
> because of some feature of my code, and I would expect at the least
> that this would happen here. (I suspect your code is much cut down, a
> simple test here shows no problem -- 3.16a1).

 (I love GNAT). I'm using gcc-3.3.3-3 with gnat included. And as for 
 you, it works. (I suspect some, maybe all, of my 'vendor's pique is
 because I had the temerity to include the GNAT generated .exe, .ali
 and .o files - the vendor said: "oh well").

 Actually, the simple test case is sufficient to illustrate the issues.
 The thing that sticks in my craw is that I cleverly design a List 
 Manager so that the management functions were separated from the 
 application and data specific operations. (Some) application specific
 behaviors were provided in a generic, and if insufficient, the application
 must provide others in the code. However, it is expected that the 
 expanded inline subprograms would generate no code. Instead, the 
 subprograms are developed to isolate areas of concern, a la Ada, but
 not effect performance. If the errant subprograms can not be inlined,
 there will be a performance hit. The design is sturdy and will be
 maintained. But the inclusion of multiple layers of subprogram calls
 effects performance. From my viewpoint, it is important to resolve
 this so that inline code can be used (others on this thread have
 provided 'clues' or workarounds which I will try).

 Bye the bye, I've spent last several years trying to get management
 buyin on the use of 'free' software. No buying. Statements that
 the company can always provide support are unavailing.

Thank you

art



  reply	other threads:[~2004-10-15 16:57 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <35f054ea.0410140733.5f250e6f@posting.google.com>
2004-10-14 16:14 ` Semantics of Inline vs non-Inline Wojtek Narczynski
2004-10-14 20:05   ` Arthur Schwarz
2004-10-15 10:24     ` Wojtek Narczynski
2004-10-15 16:32       ` Arthur Schwarz
2004-10-14 17:58 ` Martin Krischik
2004-10-15  0:49   ` Arthur Schwarz
2004-10-15  8:05     ` Martin Krischik
2004-10-15 16:39       ` Arthur Schwarz
2004-10-15 16:40       ` Arthur Schwarz
2004-10-15 16:40       ` Arthur Schwarz
2004-10-15 16:45       ` skidmarks
2004-10-15  3:40 ` Steve
2004-10-15  5:50 ` Simon Wright
2004-10-15 16:57   ` skidmarks [this message]
2004-10-18 17:01 ` skidmarks
2004-10-15  6:18 Christoph Karl Walter Grein
2004-10-15 11:02 ` Wojtek Narczynski
  -- strict thread matches above, loose matches on Subject: below --
2004-10-18  6:29 Christoph Karl Walter Grein
2004-10-20 15:07 ` Wojtek Narczynski
2004-10-21  5:07 Christoph Karl Walter Grein
2004-10-21 10:24 ` Wojtek Narczynski
2004-10-21 11:21 Christoph Karl Walter Grein
2004-10-21 20:57 ` Wojtek Narczynski
2004-10-22  0:46 ` skidmarks
2004-10-22  5:50   ` Simon Wright
2004-10-22 12:57     ` Wojtek Narczynski
replies disabled

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