[LLVMdev] A bug in LLVM-GCC 4.2 with inlining __exchange_and_add

Chris Lattner clattner at apple.com
Sun Feb 3 20:57:25 PST 2013


On Feb 3, 2013, at 11:28 AM, Jack Howarth <howarth at bromo.med.uc.edu> wrote:

> On Sun, Feb 03, 2013 at 10:32:35AM -0800, Chris Lattner wrote:
>> 
>> On Feb 3, 2013, at 2:32 AM, Anton Korobeynikov <anton at korobeynikov.info> wrote:
>> 
>>>> I've encountered this issue in a real code and would be glad to get the
>>>> feedback on it. Please let me know if I need to submit a bug somewhere to get it resolved. I've found out that clang does not have this problem.
>>> Then use clang. llvm-gcc is deprecated.
>> 
>> I'd go farther: llvm-gcc is quite dead now.
> 
> Chris,
>  At the risk of hijacking the thread, are there any plans to make -traditional-cpp
> in clang completely emulate the behavior in llvm-gcc such that imake can be built
> with it (https://bugs.freedesktop.org/show_bug.cgi?id=45509). This will be an issue
> on darwin since llvm-gcc disappears after Xcode 4.6). Hopefully this can be resolved
> before that happens.

No plans that I'm aware of, but cfe-dev would be a better place to ask about that.  -traditional-cpp is emulating pre-ansi c preprocessor behavior which is *over* 20 years old by now.  It would be much better to work with the imake folks to fix their code.

-Chris




More information about the llvm-dev mailing list