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,5b9a38a75a50e726 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!l64g2000hse.googlegroups.com!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: Feature or Bug? 2#1111# shifted by 4 is 224 Date: Tue, 3 Jun 2008 01:10:25 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <20080602191145.1b75b1ee.tero.koskinen@iki.fi> <873anvk9a2.fsf@ludovic-brenta.org> NNTP-Posting-Host: 153.98.68.197 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1212480625 3787 127.0.0.1 (3 Jun 2008 08:10:25 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 3 Jun 2008 08:10:25 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: l64g2000hse.googlegroups.com; posting-host=153.98.68.197; posting-account=pcLQNgkAAAD9TrXkhkIgiY6-MDtJjIlC User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.3) Gecko/20040924,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:541 Date: 2008-06-03T01:10:25-07:00 List-Id: Dennis Hoppe wrote: > i tried the example source given at http://gcc.gnu.org/PR30740 and it > fails on my machine. If I compile the same source with -gnato, the > results are correct. > > The same behaviour can be reproduced by the code I posted above. > Again, if I compile my source mit the -gnato flag, the program > compute the shift operation correct. > > The bug seems still to exist. > > Tested on Mac OS X 10.5 > gcc (GCC) 4.4.0 20080314 (experimental) [trunk revision 133226] > Intel Core 2 Duo Of course it still exists in 20080314, since it was fixed on 2008-05-20. -- Ludovic Brenta.