http://llvm.org/bugs/show_bug.cgi?id=11062
Summary: inline keyword ignored for function called strlcpy
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: Frontend
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Created an attachment (id=7401)
--> (http://llvm.org/bugs/attachment.cgi?id=7401)
Test case.
clang in -std=c99 mode ignores the inline keyword when used on a function
called strlcpy, causing the code to always be emitted. It works if the function
is renamed to my_strlcpy. gcc -std=c99 works either way.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs