This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: What is wrong with Bugzilla? [Was: Re: GCC and Floating-Point]
- From: Robert Dewar <dewar at adacore dot com>
- To: Haren Visavadia <themis_hv at yahoo dot co dot uk>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 30 May 2005 16:12:07 -0400
- Subject: Re: What is wrong with Bugzilla? [Was: Re: GCC and Floating-Point]
- References: <20050530200541.1655.qmail@web25702.mail.ukl.yahoo.com>
Haren Visavadia wrote:
--- Robert Dewar wrote:
I would expect the seem behaviour for both cases.
why? You have some inaccurate model of computation,
which in the absence of switches, is not guaranteed.
Floating-point semantics are indeed tricky.
test-case.c cause an assertion failure with
{-O1,-O2,-O3} but test.c does not all.
The first few lines of both case are pretty simalar.
pretty similar does not mean guaranteed identical
behavior.