This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Go patch committed: Recognize more test lines
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