Re: Gcc floating-point optimizer weird behaviour

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jan 25, 2015 at 9:51 AM, Vladimir A. Pavlov <pv4@xxxxx> wrote:
>
> Is it gcc bug or do I misunderstand how floating-point arithmetics
> works in C and what is allowed for optimizer?
>
> If it's my fault can anyone explain (e.g. provide links) please why
> it's an allowed behaviour of optimizer?

See the description of -fexcess-precision in the manual.  You probably
want -fexcess-precision=standard or -std=c99.

Ian




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux