On Tue, Nov 15, 2005 at 03:23:18AM +0100, Vincent Lefevre wrote: > On 2005-11-13 14:40:23 +0100, Bjorn Reese wrote: > > Albert Chin wrote: > > >Thanks to Eric Botcazou, this is GCC bug PR323. However, the bug won't > > >be fixed :) A workaround is to build date.c with -O2 -ffloat-store. > > > > Another workaround in such a situation is to declare the troublesome > > double as volatile. > > This won't solve all the problems. You can download > > http://www.vinc17.org/software/tst-ieee754.xsl > > and run "xsltproc tst-ieee754.xsl tst-ieee754.xsl". On my Debian x86 > machine, I get: > > Not a conforming XPath implementation.
This seems to come down to compliance of floating point implementations in chips and how the compilers cope with the differences. I'm not sure it's really something we can fix at the libxslt level (or libxml2 rather since the arithmetics for that stylesheet is in libxml2 xpath.c actually). Daniel -- Daniel Veillard | Red Hat http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ _______________________________________________ xslt mailing list, project page http://xmlsoft.org/XSLT/ [email protected] http://mail.gnome.org/mailman/listinfo/xslt
