[Bug tree-optimization/10980] vararg functions are not inlined
vanboxem.ruben at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Sep 23 13:47:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10980
Ruben Van Boxem <vanboxem.ruben at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |vanboxem.ruben at gmail dot
| |com
--- Comment #7 from Ruben Van Boxem <vanboxem.ruben at gmail dot com> 2011-09-23 13:34:52 UTC ---
This problem popped up when compiling LLVM's libc++:
M:\Development\Source\libc++\src\locale.cpp:1:0: warning: -fPIC ignored for
target (all code is position independent) [enabled by default]
M:\Development\Source\libc++\include/locale: In function 'int
std::__1::__asprintf_l(char**, _locale_t, const char*, ...)':
M:\Development\Source\libc++\include/locale:372:5: sorry, unimplemented:
function 'int std::__1::__asprintf_l(char**, _locale_t, const char*, ...)' can
never be inlined because it uses variable argument lists
M:\Development\Source\libc++\include/locale: In function 'int
std::__1::__sprintf_l(char*, _locale_t, const char*, ...)':
M:\Development\Source\libc++\include/locale:344:5: sorry, unimplemented:
function 'int std::__1::__sprintf_l(char*, _locale_t, const char*, ...)' can
never be inlined because it uses variable argument lists
M:\Development\Source\libc++\include/locale: In function 'int
std::__1::__snprintf_l(char*, size_t, _locale_t, const char*, ...)':
M:\Development\Source\libc++\include/locale:358:5: sorry, unimplemented:
function 'int std::__1::__snprintf_l(char*, size_t, _locale_t, const char*,
...)' can never be inlined because it uses variable argument lists
M:\Development\Source\libc++\include/locale: In function 'int
std::__1::__sscanf_l(const char*, _locale_t, const char*, ...)':
M:\Development\Source\libc++\include/locale:386:5: sorry, unimplemented:
function 'int std::__1::__sscanf_l(const char*, _locale_t, const char*, ...)'
can never be inlined because it uses variable argument lists
The code can be found here:
http://llvm.org/svn/llvm-project/libcxx/trunk/include/locale
More information about the Gcc-bugs
mailing list