[llvm-bugs] [Bug 38529] Alias analysis fails on aliased function arguments -- possibly resulting in incorrect code after scheduling

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Aug 12 14:35:02 PDT 2018


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

David Blaikie <dblaikie at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |dblaikie at gmail.com
         Resolution|---                         |INVALID

--- Comment #3 from David Blaikie <dblaikie at gmail.com> ---
I /think/ this code is invalid - it reads from the non-active (not the last
written) member of a union. Maybe using -fno-strict-aliasing would be a
workaround for this, I'm not sure.

-- 
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/20180812/74ceba34/attachment.html>


More information about the llvm-bugs mailing list