This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: issue with floor()


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]