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!news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!club-internet.fr!feedme-small.clubint.net!aioe.org!not-for-mail From: Dennis Hoppe Newsgroups: comp.lang.ada Subject: Re: Feature or Bug? 2#1111# shifted by 4 is 224 Date: Mon, 02 Jun 2008 20:52:26 +0200 Organization: Aioe.org NNTP Server Message-ID: References: <20080602191145.1b75b1ee.tero.koskinen@iki.fi> <873anvk9a2.fsf@ludovic-brenta.org> NNTP-Posting-Host: ASGDYjLDfmc9FZUN45ADsA.user.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org In-Reply-To: User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) Xref: g2news1.google.com comp.lang.ada:535 Date: 2008-06-02T20:52:26+02:00 List-Id: Ludovic Brenta wrote: > This looks like http://gcc.gnu.org/PR30740 which is fixed in Debian > unstable :) > > Could you confirm that this is the same bug indeed? > Hello Ludovic, 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