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 Path: g2news1.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.de!bolzen.all.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "(see below)" Newsgroups: comp.lang.ada Subject: Re: GNAT GPL 2009 for Mac OS X (Snow Leopard) Date: Wed, 23 Dec 2009 17:18:26 +0000 Message-ID: References: <5b0bf629-0935-414d-9a57-1757632840b8@d10g2000yqh.googlegroups.com> <96854a61-2032-49b1-a8b2-8a5aee181701@22g2000yqr.googlegroups.com> <68e6e09a-9f02-4fd4-a87c-d1c43dd104e1@27g2000yqr.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Trace: individual.net 4QeFskXDx86QP7dmQvCE7gHs445XZqd0uWLD/rNjYrpIqvEOpK Cancel-Lock: sha1:Gma40yLkHimVQNuWaZ8tQFf8Bt8= User-Agent: Microsoft-Entourage/12.20.0.090605 Thread-Topic: GNAT GPL 2009 for Mac OS X (Snow Leopard) Thread-Index: AcqD8+/7d+ShPsK2+UaqNG2Ff+3Wmg== Xref: g2news1.google.com comp.lang.ada:8500 Date: 2009-12-23T17:18:26+00:00 List-Id: On 23/12/2009 14:26, in article 68e6e09a-9f02-4fd4-a87c-d1c43dd104e1@27g2000yqr.googlegroups.com, "sjw" wrote: > On Dec 23, 3:29�am, "(see below)" wrote: >> On 22/12/2009 23:37, in article >> 96854a61-2032-49b1-a8b2-8a5aee181...@22g2000yqr.googlegroups.com, "sjw" >> >> wrote: >>> Have just uploaded gnat-gpl-2009-i386-apple-darwin10.2.0-1.tar.bz2, >>> without the dependency; will remove the offending files after a day or >>> two. >> >> Unfortunately, it goes very badly wrong at -O1 optimization level on another >> example: ... >> thus: >> >> +===========================GNAT BUG DETECTED==============================+ >> | GPL 2009 (20090519) (i386-apple-darwin10.2.0) GCC error: � � � � � � � � | >> | in gnat_to_gnu_entity, at ada/gcc-interface/decl.c:312 � � � � � � � � � | >> | Error detected at test.adb:14:7 � � � � � � � � � � � � � � � � � � � � �| >> ... >> >> This error message does not appear at -O3, but the generated object program >> is non-functional, although that may be for a different reason, of course. >> >> This code compiled and ran correctly under the Leopard compilers I was using >> until I stupidly installed SL. >> >> What on earth has happened for GNAT to regress so badly in the face of what >> is often described as a tidying-up and performance release of OS X? > > I don't know either, because here it compiles without complaint at -O > {0,1,2,3}! Hmm. Interesting ... What could account for the difference? Do you have any other versions of GNAT installed in that testing environment? -- Bill Findlay chez blueyonder.co.uk