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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,314d661a32522d8a X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!a70g2000hsh.googlegroups.com!not-for-mail From: Gene Newsgroups: comp.lang.ada Subject: Re: Announcement: GNAT ported to LLVM Date: Wed, 26 Mar 2008 17:41:38 -0700 (PDT) Organization: http://groups.google.com Message-ID: <76f13aae-d11f-4ffa-b4d1-ad3d597598d8@a70g2000hsh.googlegroups.com> References: <87iqzco4n7.fsf@willow.rfc1149.net> <7e6246de-2ac0-4311-8047-ae88ea4ccb38@i29g2000prf.googlegroups.com> NNTP-Posting-Host: 70.101.174.178 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1206578499 28006 127.0.0.1 (27 Mar 2008 00:41:39 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 27 Mar 2008 00:41:39 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: a70g2000hsh.googlegroups.com; posting-host=70.101.174.178; posting-account=-BkjswoAAACC3NU8b6V8c50JQ2JBOs04 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30),gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:20597 Date: 2008-03-26T17:41:38-07:00 List-Id: On Mar 24, 2:09=A0pm, baldrick wrote: > Hi Sam, > > > Thanks Duncan, this is an outstanding contribution to the Ada > > community. Given that LLVM is already ahead of GCC in terms of code > > generation quality (sometimes, starting from zero and choosing another > > path is a competitive advantage), this looks very promising. > > I'm glad you appreciate my work! =A0That said, in my experience gcc-4.2 > produces slightly faster code for Ada than llvm-gcc-4.2 does. =A0Given > that LLVM manages to produce code that comes close to gcc while being > much simpler than gcc and easier to improve, I expect it will overtake > gcc soon. =A0In fact I haven't even started working on Ada specific > optimizer improvements yet: I've been concentrating on correctness. > > > The difficult task, as you already know, will be to keep the Ada > > front-ends in both compilers in sync. I wish you good luck with that! > > It's not yet clear to me whether I should backport the gcc-4.3 Ada > front-end to llvm-gcc-4.2, or start working on llvm-gcc-4.3. =A0For the > moment I'm just working on improving the correctness and robustness > of llvm-gcc-4.2. This is wonderful, Duncan. I agree that this is a huge deal for Ada. I only learned about LLVM a few months ago. When I did, I filed and Ada LLVM compiler in my drawer of Utopian ideas. Thanks for making it true! I assume that due to the link-time optimization capability that inlining among packages will be handled naturally. GNAT-gcc can't do that, right? This alone ought to be a big deal as accessor/setter conventions are leading to programs filled with tiny procedures and functions.