From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28739 invoked by alias); 9 Feb 2004 17:09:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 28732 invoked by uid 48); 9 Feb 2004 17:09:45 -0000 Date: Mon, 09 Feb 2004 17:09:00 -0000 Message-ID: <20040209170945.28730.qmail@sources.redhat.com> From: "peturr02 at ru dot is" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040209093043.14078.peturr02@ru.is> References: <20040209093043.14078.peturr02@ru.is> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug libstdc++/14078] Manipulators are slow X-Bugzilla-Reason: CC X-SW-Source: 2004-02/txt/msg01027.txt.bz2 List-Id: ------- Additional Comments From peturr02 at ru dot is 2004-02-09 17:09 ------- > IMHO, we should only do that if it does not increase code size; If the compiler where really smart, os << uppercase; should be inlined to os._M_flags |= ios_base::uppercase; Which should result in both smaller code and faster execution than what happens currently. (Currently, the compiler is unable to inline calls through function pointers, even if the pointee is known at compile time. There is already a report about this, it's PR3713.) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14078