[ECOS] Re: issue with floor()

Grant Edwards grant.b.edwards@gmail.com
Thu Nov 11 14:58:00 GMT 2010


On 2010-11-11, David Brennan <ecos@brennanhome.com> wrote:
> On Wed, Nov 10, 2010 at 12:08 PM, Sergei Gavrikov
><sergei.gavrikov@gmail.com> wrote:
> [...]
>> The fix was:
>>
>> ? ?# Default value: ?"-fno-strict-aliasing " . ?\
>> ? ? ? ?((!CYGPKG_HAL_I386 && !CYGPKG_HAL_SYNTH_I386) ? "" : "-ffloat-store")
>
> This does correct my compiler warnings for libm. But as I am now a
> little gun-shy, do these need similar fixes?

Yes. I can't guarantee that the aliasing violations are causing bugs
in that code also, but it's certainly possible.

-- 
Grant Edwards               grant.b.edwards        Yow! Look DEEP into the
                                  at               OPENINGS!!  Do you see any
                              gmail.com            ELVES or EDSELS ... or a
                                                   HIGHBALL?? ...


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list