[PATCH] D30025: [compiler-rt] [builtins] Fix building atomic.c with GCC

Michał Górny via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 16 04:30:07 PST 2017


mgorny added a comment.

In https://reviews.llvm.org/D30025#678462, @theraven wrote:

> This code is working around something that's probably a clang bug.  It would be better to fix the clang bug than add more complex workarounds.


Well, clang explicitly rejects those functions as errors, so I would guess it does that by design.


Repository:
  rL LLVM

https://reviews.llvm.org/D30025





More information about the cfe-commits mailing list