[llvm-bugs] [Bug 22830] function alias via __asm__ is not honored if the alias is defined after the call (gcc behaves differently)

via llvm-bugs llvm-bugs at lists.llvm.org
Wed May 26 02:20:26 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=22830

Szabolcs Nagy <szabolcs.nagy at arm.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WONTFIX                     |---
             Status|RESOLVED                    |REOPENED
                 CC|                            |szabolcs.nagy at arm.com

--- Comment #4 from Szabolcs Nagy <szabolcs.nagy at arm.com> ---
this still affects software so if possible clang should have an option
to match the gcc semantics.

(clang seems to have -fheinous-gnu-extensions already for worse language
abuse, so i don't see why this cannot be handled similarly. fixing
legacy code to match the clang requirement is a lot of manual effort
that can introduce new bugs.)

-- 
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/20210526/4cb3182e/attachment.html>


More information about the llvm-bugs mailing list