[llvm-bugs] [Bug 39053] New: always_inline attribute is sometimes ignored at -O3

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Sep 23 00:58:52 PDT 2018


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

            Bug ID: 39053
           Summary: always_inline attribute is sometimes ignored at -O3
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Interprocedural Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: phosek at chromium.org
                CC: llvm-bugs at lists.llvm.org

We're seeing cases when functions marked with always_inline attribute aren't
inlined when compiling with -O3 but are inline at lower optimization levels.

One such example is basic_ostream& operator<<(basic_ostream&
(*__pf)(basic_ostream&)) in libc++.

-- 
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/20180923/7447fbee/attachment.html>


More information about the llvm-bugs mailing list