From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6248cc9ba00e302f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-04-14 08:46:09 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Generics and null procedures Date: 14 Apr 2003 11:45:08 -0400 Organization: NASA Goddard Space Flight Center (skates.gsfc.nasa.gov) Message-ID: References: NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 1050336000 12743 128.183.235.92 (14 Apr 2003 16:00:01 GMT) X-Complaints-To: usenet@news.gsfc.nasa.gov NNTP-Posting-Date: 14 Apr 2003 16:00:01 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.ada:36134 Date: 2003-04-14T16:00:01+00:00 List-Id: "kat-Zygfryd" <6667@wp.pl> writes: > "Larry Kilgallen" wrote in message > news:sfwnjkDEa3Cv@eisner.encompasserve.org... > > Certainly that depends on what compiler, which you have not indicated. > > GNAT 3.15p (NT version) Turn on all optimizations, including global inlining. Then it should optimize away the call to the null procedure. If it doesn't, submit a bug report to ACT. -- -- Stephe