From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29016 invoked by alias); 24 Sep 2014 20:42:20 -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 28953 invoked by uid 48); 24 Sep 2014 20:42:17 -0000 From: "bernd.edlinger at hotmail dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/63361] Test case c-c++-common/ubsan/float-cast-overflow-1.c fails on Pentium2 Date: Wed, 24 Sep 2014 20:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bernd.edlinger at hotmail dot de 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: attachments.created 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-09/txt/msg02307.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63361 --- Comment #1 from Bernd Edlinger --- Created attachment 33552 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33552&action=edit log file with detailed error information gcc.log, from this command: make -k check-gcc RUNTESTFLAGS="ubsan.exp=c-c++-common/ubsan/float-cast-overflow-1.c" first I did not understand, what is wrong with the output. but now I see, that the test does only print 10 x "runtime error: value 9.22337e+18 is outside the range of representable values of type 'long long int'" but this message is expectet to be print 15 times. likewise for "runtime error: value 1.84467e+19 is outside the range of representable values of type 'long long unsigned int'" it is only printed 11 times, but expected 15 times. so, it looks like a rounding issue.