From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22671 invoked by alias); 11 Apr 2014 13:59:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 22626 invoked by uid 48); 11 Apr 2014 13:59:09 -0000 From: "georggcc at googlemail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/60730] 'Round of a fixed point type incorrectly truncates its operand instead of rounding it Date: Fri, 11 Apr 2014 13:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: georggcc at googlemail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-04/txt/msg00843.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60730 --- Comment #3 from Georg --- I have used the new simplified bug reporting form, hence no triple. Several platforms are affected; the GCC 4.9 used with this report was built on Darwin Kernel Version 13.1.0: Thu Jan 16 19:40:37 PST 2014; root:xnu-2422.90.20~2/RELEASE_X86_64 x86_64. See -v below. According to the first public mention, these are also affected (quoting the USENET message): gnat 4.6.3 ("debian stable kfreebsd"), gnat-aux 4.7.3 ("from FreeBSD ports"). I also just checked the gcc build for dotnet-GNAT (GNAT GPL (20130314)), same result. $ gcc -v COLLECT_GCC=/Volumes/Macintosh HD/Users/bauhaus/4.9/bin/gcc COLLECT_LTO_WRAPPER=/Volumes/Macintosh\ HD/Users/bauhaus/4.9/bin/../libexec/gcc/x86_64-apple-darwin13.1.0/4.9.0/lto-wrapper Target: x86_64-apple-darwin13.1.0 Configured with: /Macintosh_HD/Users/bauhaus/src/GCC-trunk/configure --prefix=/Macintosh_HD/Users/bauhaus/4.9 --disable-nls --enable-languages=c,ada,c++ CC=gcc Thread model: posix gcc version 4.9.0 20140331 (experimental) (GCC)