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,a287efecf9b6c0d7 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!feedme.ziplink.net!news.swapon.de!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: avr-ada ubuntu cross-compiler build failed Date: Sat, 12 Feb 2011 13:27:37 +0000 Organization: A noiseless patient Spider Message-ID: References: <8k0bl6hdk821ur4gtr0shqki0vhu3jv83g@4ax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx01.eternal-september.org; posting-host="dFCm8HWntFqmDIilBLqEJQ"; logging-data="29324"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18z1cOfEf0qsHYhYDyfQdXEZSUIofk8cZY=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (darwin) Cancel-Lock: sha1:9QjN5Da7vAj0BkTMJlQuG/c6b3A= sha1:mYU/sOegKPH8V3ZxVgvzYFjq5HY= Xref: g2news1.google.com comp.lang.ada:17260 Date: 2011-02-12T13:27:37+00:00 List-Id: Brian Drummond writes: > On Fri, 11 Feb 2011 18:16:27 +0000, Simon Wright wrote: > >>Brian Drummond writes: >> >>> My dreams of success were short-lived, though, when someone pointed >>> out a catastrophic bug in GCC4.5.0 targeting the AVR... > >>Actually, this bug is also present in gcc version 4.6.0 20110203 >>(experimental) [trunk revision 157963] for x86_64-apple-darwin10. >> >>I've updated bugzilla >>(http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46192). >> >>The problem is there at -O2, goes away at -O1 (and -O0). > > Do you happen to know if this applies ("goes away at -O1") in GCC4.5 too, or > just 4.6? > > (If so, I may stick with 4.5.0 and -O1 for the time being, until I run out of > space) Yes, it does. (on x86_64-apple-darwin10). Are you sure this is really a problem for you? It's that pragma Volatile isn't retained *through a renaming*. Do you have to rename?