David Edelsohn <dje....@gmail.com> wrote: >Richi, > >The GCC documentation for fp-contract is a little confusing and I'm >not sure what was intended. The last sentences says: > >"-ffp-contract=on enables floating-point expression contraction if >allowed by the language standard. This is currently not implemented >and treated equal to -ffp-contract=off." > >Apparently "This" refers to "on". So contraction is enabled for >"fast" but the documentation implies that "on" is implemented as "off" >instead of "fast", i.e., explicitly choosing "on" will disable the >contraction. > >What did you intend?
Fp-contract=on should allow contraction as Allowed by the language standard. This is not implemented, we only implement no contraction at all or contraction without restrictions. Contraction according to the language constraints is thus implemented conservatively correct by mapping to no contraction at all. Richard. >Thanks, David