Thanks for your report. Can you point me towards where it is documented that -ffast-math changes the ABI? I was not aware of this.
Since these flags were introduced to get the right behavior of isinf / isnan (on i386), it seems like we could replace our definitions of those functions with e.g., __asm__ blocks that use fxam (i386/x87) or ucomisd (x86_64/sse2) or bit twiddling hacks (other architectures). Having done that, it would be possible to revert these flag changes so that x86_64 works right. Otherwise, before incorporating this patch I'd like to at least make it conditional on x86_64 so that we retain proper functioning of isinf and isnan for i386 users. I don't immediately see a place where the makefile knows it's building for i386 vs x86_64 vs non-x86 system, though... Right now it looks like the only place in RT that is using isinf/isnan is rtapi_vsnprintf. However, when debugging some users have also found the ability to add explicit checks for isinf/isnan useful. Jeff ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers