This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/7175: Calculation yields different results for versionoptimized with -O2
- From: Gunther H Weber <weber at informatik dot uni-kl dot de>
- To: bangerth at dealii dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, weber at informatik dot uni-kl dot de, gcc-gnats at gcc dot gnu dot org
- Date: Mon, 09 Dec 2002 20:13:39 -0800
- Subject: Re: optimization/7175: Calculation yields different results for versionoptimized with -O2
- References: <20021206215040.5452.qmail@sources.redhat.com>
I still get the problem with gcc3.2. However, it disappears as soon as I
use -ffloat-store. So it seems to be due to poor handling of numerical
inaccuracies.
Thank you for your feedback
Gunther
bangerth@dealii.org wrote:
Synopsis: Calculation yields different results for version optimized with -O2
State-Changed-From-To: open->feedback
State-Changed-By: bangerth
State-Changed-When: Fri Dec 6 13:50:40 2002
State-Changed-Why:
This code works for me with gcc3.2. Would you mind checking
whether this helps on your system as well?
Thanks
Wolfgang
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7175