On 25 Aug 2013, at 00:06, Steve Kargl <s...@troutmask.apl.washington.edu> wrote:

> On Sat, Aug 24, 2013 at 11:44:38PM +0100, David Chisnall wrote:
>> On 24 Aug 2013, at 23:42, Slawa Olhovchenkov <s...@zxy.spb.ru> wrote:
>> 
>>> And i found PR about clang and mplayer: ports/176272
>>> This PR contains log with build error log.
>> 
>> Please file clang bugs at http://llvm.org/bugs/
>> 
> 
> As if this is going to help.
> 
> http://llvm.org/bugs/show_bug.cgi?id=8532
> 
> 2 years, 9 month and counting.

This bug relates to a corner case in complex floating point support, which GCC 
in base doesn't get right either, and which affects a tiny proportion of users 
and which comes with a hypothetical test case but no evidence that any 
real-world code is affected by it.  If you have some real-world code that is 
compiled correctly by GCC but incorrectly by clang as a result of this, then 
please update the bug.

Oh, and it's worth noting that clang, as an extension, supports using 
initialiser lists to create complex values and so this particular case is 
trivial to avoid if you use this feature, which you will if you create complex 
numbers using the macro that the C specification introduced specifically to 
avoid this case.  

David

_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to