Re: GCC withdraw

From: David Chisnall <theraven_at_freebsd.org>
Date: Sun, 25 Aug 2013 11:08:57 +0100
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
Received on Sun Aug 25 2013 - 08:09:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:40 UTC