[llvm-bugs] [Bug 42776] Incorrect code generation for inlined functions when -Oz flags are specified

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jul 26 13:59:51 PDT 2019


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

Eli Friedman <efriedma at quicinc.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |efriedma at quicinc.com
         Resolution|---                         |INVALID

--- Comment #3 from Eli Friedman <efriedma at quicinc.com> ---
See https://clang.llvm.org/compatibility.html#inline for a more complete
description of the relevant rules.

(It's a little unfortunate that a program can either successfully link or fail
to link, depending on the optimizations used, but that's the way the C standard
was written.)

-- 
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/20190726/e8687ee3/attachment.html>


More information about the llvm-bugs mailing list