Chris Lattner
2013-Feb-03 18:32 UTC
[LLVMdev] A bug in LLVM-GCC 4.2 with inlining __exchange_and_add
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
Jack Howarth
2013-Feb-03 19:28 UTC
[LLVMdev] A bug in LLVM-GCC 4.2 with inlining __exchange_and_add
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. Jack> > -Chris > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Chris Lattner
2013-Feb-04 04:57 UTC
[LLVMdev] A bug in LLVM-GCC 4.2 with inlining __exchange_and_add
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
Possibly Parallel Threads
- [LLVMdev] A bug in LLVM-GCC 4.2 with inlining __exchange_and_add
- [LLVMdev] A bug in LLVM-GCC 4.2 with inlining __exchange_and_add
- [LLVMdev] A bug in LLVM-GCC 4.2 with inlining __exchange_and_add
- [LLVMdev] llvm/llvm-gcc-4.2 svn still produces -Wformat/-Wformat-security
- [LLVMdev] A bug in LLVM-GCC 4.2 with inlining __exchange_and_add