[llvm-bugs] [Bug 34669] New: Provide -f-no-alias, opposite of -fno-strict-alias

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Sep 19 06:37:02 PDT 2017


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

            Bug ID: 34669
           Summary: Provide -f-no-alias, opposite of -fno-strict-alias
           Product: clang
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: ag at arvid.io
                CC: llvm-bugs at lists.llvm.org

The '-fno-strict-alias' flag disables all alias semantics, which is useful for
some applications where these would be violated. The opposite of this would be
a useful addition, which would basically provide FORTRAN like aliasing
semantics for C / C++, by adding an implicit 'restrict' to every pointer.

-- 
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/20170919/c04c7219/attachment.html>


More information about the llvm-bugs mailing list