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.129.169 with SMTP id nx9mr14414038pbb.2.1334690946596; Tue, 17 Apr 2012 12:29:06 -0700 (PDT) Path: r9ni67652pbh.0!nntp.google.com!news2.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nntp.club.cc.cmu.edu!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Building gnat-gpl-2011-avr-windows from scratch in GPS Date: Tue, 17 Apr 2012 20:29:05 +0100 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-Info: mx04.eternal-september.org; posting-host="dFCm8HWntFqmDIilBLqEJQ"; logging-data="5670"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19MZ+bmVZNlmkniWj1BQfoRPTBxfBq+pyw=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (darwin) Cancel-Lock: sha1:L3xmkANerb8+seTKR/km3tL/ews= sha1:4sELDfePHFUCnR/Fz3h+Mx85W48= X-Received-Bytes: 1713 Content-Type: text/plain; charset=us-ascii Date: 2012-04-17T20:29:05+01:00 List-Id: 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]).