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 X-Google-Thread: 103376,5867ff5404195f0e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-08 08:19:34 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news-FFM2.ecrc.net!news.iks-jena.de!lutz From: lutz@iks-jena.de (Lutz Donnerhacke) Newsgroups: comp.lang.ada Subject: Re: FYI: GNAT and GCC Date: Mon, 8 Oct 2001 15:19:01 +0000 (UTC) Organization: IKS GmbH Jena Message-ID: References: <3BBA9724.2020009@earthlink.net> <5ee5b646.0110030812.d2ad098@posting.google.com> <3BBBCF3B.9050403@earthlink.net> NNTP-Posting-Host: taranis.iks-jena.de Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: branwen.iks-jena.de 1002554341 6739 217.17.192.37 (8 Oct 2001 15:19:01 GMT) X-Complaints-To: usenet@iks-jena.de NNTP-Posting-Date: Mon, 8 Oct 2001 15:19:01 +0000 (UTC) User-Agent: slrn/0.9.6.3 (Linux) Xref: archiver1.google.com comp.lang.ada:13932 Date: 2001-10-08T15:19:01+00:00 List-Id: * Ian S. Nelson wrote: >Either way, I think it's good news. No more patching GCC and hoping I >can still compile ada and c++. With a very small and obvious Makefile patch, I got a working: GNU Ada version 3.1 20011008 (experimental) (i686-pc-linux-gnu) compiled by GNU C version 3.1 20011008 (experimental). and start looking on assembler outputs. I'm very pleased compared with GNAT 3.13p: Much better inlining, more efficient stack handling, some new error messages� and definitly shorter code (especially on bound checking). I'm still checking if the code is correct. But even -fssa seems to work fine. The vast improvement (to me) are the enumeration converters 'Val, 'Image. The necessary tables look very much like my old C64 BASIC ROM. 1 Following Errors are new to me: - pragma Inline in package specification do not longer work for code in package bodies, but can not reproduce this in a very short example. - Instantiation of a generic with a derivated type now cleanly rejects nonderivated integral types.