[llvm-bugs] [Bug 42242] optimization complains invalid symbol redefinition

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jun 11 19:23:19 PDT 2019


Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
Clang follows the GCC specification for inline assembly. See

Under certain circumstances, GCC may duplicate (or remove duplicates of) your
assembly code when optimizing. This can lead to unexpected duplicate symbol
errors during compilation if your assembly code defines symbols or labels.

So this is a bug in the code.

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/20190612/4ecdf1eb/attachment.html>

More information about the llvm-bugs mailing list