[Itai Nahshon <nahshon@actcom.co.il>] RedHat-6.0 fails to compile with -ansi -pedantic
Richard Henderson
rth@twiddle.net
Wed May 26 08:15:00 GMT 1999
On Wed, May 26, 1999 at 08:40:29AM +0200, Andreas Jaeger wrote:
> - union { float __f; int __i; } __u = { __f: __x }; return __u.__i < 0;
> + union { float __f; int __i; } __u; __u.__f = __x; return __u.__i < 0;
[...]
> Comparing assembly output from compiling with both files does not give
> identical results. Maybe the egcs guys should take a look at that.
Unsurprising. Constructors aren't implemented as efficiently
as direct member assignment.
r~
More information about the Libc-hacker
mailing list