mrtd bug

Mumit Khan khan@xraylith.wisc.EDU
Tue Aug 31 22:45:00 GMT 1999


"Konstantin Boldyshev" <konst@voshod.com> writes:
> Hello,
> 
> It seems that there's a bug in egcs-2.91.57 / i386/ Linux.
> If have a simple function like:
> 
> double calc_max(double x,double y) 
> { 
>   return x>y?x:y;
> }

All egcs versions (1.0.x throught 1.1.2) had this bug; it popped the
FP stack, which means any funtion returning non-integer value won't 
work.

Richard Henderson fixed it for gcc-2.95 release.

Regards,
Mumit



More information about the Gcc-bugs mailing list