[llvm-bugs] [Bug 43695] clang fatal error using __declspec(allocator) with -O3 : "error in backend: invalid symbol redefinition"
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Oct 16 12:53:43 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=43695
Reid Kleckner <rnk at google.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |DUPLICATE
Status|NEW |RESOLVED
--- Comment #1 from Reid Kleckner <rnk at google.com> ---
Yes, the key thing here is -O3, which raises the tail duplication threshold,
resulting in the same label being emitted twice. I discussed a plan to fix this
with Amy yesterday.
In the meantime, I might try to put together a workaround to make this not be a
fatal error. Missing one heap allocation site won't be the end of the world.
*** This bug has been marked as a duplicate of bug 43479 ***
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20191016/59499460/attachment.html>
More information about the llvm-bugs
mailing list