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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: "G.B." Newsgroups: comp.lang.ada Subject: Re: ANN: GCC 5.2.0 for OS X El Capitan Date: Fri, 27 Nov 2015 19:22:02 +0100 Organization: A noiseless patient Spider Message-ID: References: Reply-To: nonlegitur@futureapps.de Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 27 Nov 2015 18:19:40 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="b96887e80893c84a90c3007226ca0d1c"; logging-data="15974"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19xF1s4Xz8SaGeNqYFGnVig6+1wvrpTvLQ=" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 In-Reply-To: Cancel-Lock: sha1:EsZmEyp4XRCNBsRsVZ+dmSC5nxI= Xref: news.eternal-september.org comp.lang.ada:28568 Date: 2015-11-27T19:22:02+01:00 List-Id: On 27.11.15 18:27, G.B. wrote: > On 24.11.15 18:52, Simon Wright wrote: >> Simon Wright writes: >> >>> I don't have a computer with Mavericks installed, any brave soul care >>> to give it a try? >> >> Well, I guess I meant Yosemite - no need to go back to Mavericks! > > While trying to compile AWS (from git repo), I see complaints > about Intel MOV operands (OS 10.10.5, SDK version 10.10): Apparently, GNAT GPL 2015 puts a movd where the other compiler puts a movq (with an xmm register). The unit below reproduces the error. (It is a self-contained excerpt from soap-types.ad? of AWS.) $ PATH=/Macintosh_HD/opt/gnat-fsf-5.2.0/bin:$PATH gcc -save-temps -c fake.adb fake.s:4958:suffix or operands invalid for `movq' fake.s:4985:suffix or operands invalid for `movq' with Ada.Finalization; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; package Fake is type Ns_Object is record Prefix : Unbounded_String; Name : Unbounded_String; Value : Unbounded_String; end record; type Tp_Object is abstract new Ada.Finalization.Controlled with record Name : Unbounded_String; Type_Name : Unbounded_String; NS : Ns_Object; end record; No_Name_Space : constant Ns_Object := (Null_Unbounded_String, Null_Unbounded_String, Null_Unbounded_String); XML_Double : aliased constant String := "xsd:double"; type XSD_Double is new Tp_Object with private; function Like_D (V : Long_Float; Name : String := "item"; Type_Name : String := XML_Double; NS : Ns_Object := No_Name_Space) return XSD_Double; private type XSD_Double is new Tp_Object with record V : Long_Float; end record; end Fake; package body Fake is function Like_D (V : Long_Float; Name : String := "item"; Type_Name : String := XML_Double; NS : Ns_Object := No_Name_Space) return XSD_Double is begin return (Ada.Finalization.Controlled with To_Unbounded_String (Name), To_Unbounded_String (Type_Name), NS, V); end Like_D; end Fake;