Go patch committed: Recognize more test lines

Ian Lance Taylor iant@google.com
Thu Jan 19 21:50:00 GMT 2012


Uros Bizjak <ubizjak@gmail.com> writes:

>>> Some of the go tests require explicit -mieee compile flag [1]. Is
>>> there a way to conditionally pass this flag to the compiler?
>>
>> What does Java do?
>
> Nothing... while the library is compiled with -mieee (the same as
> libgo), the user is still expected to pass -mieee as a compile flag
> for full IEEE compliance.

I'm not going to worry too much about Alpha, but this is just wrong.  I
recognize that Alpha imposes a significant penalty on IEEE-correctness,
but nevertheless the Java and Go languages require it.  Programmers
shouldn't have to use a special option to get correct behaviour as
defined by the language.  It should be the other way around: they should
have to use a special option to indicate that they don't care about
correct behaviour.

> I will propose the patch in a follow-up message.

Thanks.

Ian



More information about the Gcc-patches mailing list