[Bug tree-optimization/37449] [4.4 Regression] calculix gets wrong answer for -O1 -ffast-math
dberlin at dberlin dot org
gcc-bugzilla@gcc.gnu.org
Wed Oct 15 13:08:00 GMT 2008
------- Comment #18 from dberlin at gcc dot gnu dot org 2008-10-15 13:06 -------
Subject: Re: [4.4 Regression] calculix gets wrong answer for -O1 -ffast-math
Making PRE do this is somewhat trivial.
Just extend fully_constant_expression to fold builtins, like it used
to, and it should just DTRT.
On Wed, Oct 15, 2008 at 5:38 AM, jakub at gcc dot gnu dot org
<gcc-bugzilla@gcc.gnu.org> wrote:
>
>
> ------- Comment #16 from jakub at gcc dot gnu dot org 2008-10-15 09:38 -------
> After discussion with richi, I'd like to turn this into an enhancement request
> for 4.5 to extend PRE/SCCVN to be able to optimize that:
> # cn_43 = PHI <-1.0e+0(4), 1.0e+0(3)>
> D.1267_44 = __builtin_pow (cn_43, 2.0e+0);
> into a constant.
>
>
> --
>
> jakub at gcc dot gnu dot org changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> CC| |dberlin at gcc dot gnu dot
> | |org, rguenth at gcc dot gnu
> | |dot org
> Target Milestone|4.4.0 |4.5.0
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37449
>
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug, or are watching someone who is.
>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37449
More information about the Gcc-bugs
mailing list