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-Thread: 103376,b4945ea154eefb5f X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.125.233 with SMTP id mt9mr254390pbb.5.1334697593518; Tue, 17 Apr 2012 14:19:53 -0700 (PDT) Path: r9ni67943pbh.0!nntp.google.com!news1.google.com!news.glorb.com!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Brian Drummond Newsgroups: comp.lang.ada Subject: Re: Building gnat-gpl-2011-avr-windows from scratch in GPS Date: Tue, 17 Apr 2012 21:19:53 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <20256137.216.1333941508115.JavaMail.geo-discussion-forums@vbpp14> <11114179.137.1334181998473.JavaMail.geo-discussion-forums@ynej18> <20a04e0a-04b9-4bc9-bb94-04ba35e451d0@f27g2000yqc.googlegroups.com> Mime-Version: 1.0 Injection-Date: Tue, 17 Apr 2012 21:19:53 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="DkTdSjxOCm6DqG+Uf7eArg"; logging-data="9735"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/7Bsi/sFc4ncHTWKj1t2uGRFCUchQOGic=" User-Agent: Pan/0.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 30dc37b master) Cancel-Lock: sha1:1AjpBhR0cLwOOFI3OuM7NPkeaoA= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Date: 2012-04-17T21:19:53+00:00 List-Id: On Tue, 17 Apr 2012 20:29:05 +0100, Simon Wright wrote: > Brian Drummond writes: > >> I have also added a switch and modified the example along the lines : >> Sw : Boolean renames MCU.PinB_Bits(1); >> ... >> MCU.DDRB_Bits := (1 => DD_Input, others => DD_Output); >> ... >> LED <= not Sw; >> and the fact that it works as expected suggests to me that the GCC4.5 >> bug with renamed registers has been fixed. > > Is that http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46192 ? If so, it's > certainly fixed in 4.7.0 and should be in 4.5, 4.6 too (releases after > 21 January 2012; SVN revisions 18336[567]). That's the one. Glad it's fixed! - Brian