GCC withdraw

David Chisnall theraven at freebsd.org
Sun Aug 25 10:09:16 UTC 2013


On 25 Aug 2013, at 00:06, Steve Kargl <sgk at 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 <slw at 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



More information about the freebsd-current mailing list