https://bugs.llvm.org/show_bug.cgi?id=43517
Bug ID: 43517
Summary: warn when __attribute__((__always_inline__)) may not
be inlineable
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: C
Assignee: unassignedclangb...@nondot.org
Reporter: ndesaulni...@google.com
CC: blitzrak...@gmail.com, dgre...@apple.com,
erik.pilking...@gmail.com, llvm-bugs@lists.llvm.org,
richard-l...@metafoo.co.uk
https://godbolt.org/z/_V5im1
__attribute__((always_inline))
void foo (void){}
static void (*bar)(void) = foo;
void baz(void) {
bar();
}
warns in GCC but not Clang
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs