From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12101 invoked by alias); 27 Jul 2003 09:34:13 -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 12093 invoked by alias); 27 Jul 2003 09:34:12 -0000 Date: Sun, 27 Jul 2003 09:34:00 -0000 Message-ID: <20030727093412.12092.qmail@sources.redhat.com> From: "gdr at integrable-solutions dot net" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20030727051349.11680.dbaron@dbaron.org> References: <20030727051349.11680.dbaron@dbaron.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug optimization/11680] member access of C++ class with all methods inline should be optimized better X-Bugzilla-Reason: CC X-SW-Source: 2003-07/txt/msg03127.txt.bz2 List-Id: PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11680 ------- Additional Comments From gdr at integrable-solutions dot net 2003-07-27 09:34 ------- Subject: Re: New: member access of C++ class with all methods inline should be optimized better "dbaron at dbaron dot org" writes: | In particular, the code involved a large inline method that involved repeated | use of a member variable (being used as a cursor into the output buffer being | written). (By default, gcc didn't inline the method. This was hand-optimized | by using |__attribute__((always_inline))|. Should I file a separate bug on | this, or is it unlikely to be fixed?) Please fill a bug report. GCC should implement the obvious and original meaning of "inline". That it failed is a bug. That one should ressort to contorsions and unspeakable syntax like __attribute__((always_inline)) while we have the obivous syntax is also a bug. -- Gaby