From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9942 invoked by alias); 23 Sep 2011 13:35:45 -0000 Received: (qmail 9903 invoked by uid 22791); 23 Sep 2011 13:35:44 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 23 Sep 2011 13:35:30 +0000 From: "vanboxem.ruben at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/10980] vararg functions are not inlined Date: Fri, 23 Sep 2011 13:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: vanboxem.ruben at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-09/txt/msg01660.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10980 Ruben Van Boxem changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vanboxem.ruben at gmail dot | |com --- Comment #7 from Ruben Van Boxem 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