[Bug fortran/34230] Expressions of parameters evaluated with too high precision

terry at chem dot gu dot se gcc-bugzilla@gcc.gnu.org
Tue Nov 27 21:57:00 GMT 2007



------- Comment #2 from terry at chem dot gu dot se  2007-11-27 21:57 -------
(In reply to comment #1)
> There is no bug here.  You have explicitly disabled
> range checking.  This means that you no longer have
> a limitation on range in constant folding.  It may
> be help to look at -fdump-parse-tree.  YOu don't
> have an Inf until you actually do the transfer.
> 

In that case it's a wrong code bug.  With -fno-range-check you've told the
compiler to produce +Infinity rather than an overflow error.  Instead, it takes
it upon itself to produce something other than what the source says [which is
log(y), not log(some expression that may or may not be called y)].


-- 

terry at chem dot gu dot se changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |terry at chem dot gu dot se


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34230



More information about the Gcc-bugs mailing list