From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16514 invoked by alias); 27 Jul 2003 05:31:01 -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 16502 invoked by uid 48); 27 Jul 2003 05:31:01 -0000 Date: Sun, 27 Jul 2003 05:31:00 -0000 Message-ID: <20030727053101.16501.qmail@sources.redhat.com> From: "pinskia at physics dot uc dot edu" 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/msg03113.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 pinskia at physics dot uc dot edu changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement Status|UNCONFIRMED |NEW Component|c++ |optimization Ever Confirmed| |1 GCC build triplet|i686-pc-linux-gnu | GCC host triplet|i686-pc-linux-gnu | GCC target triplet|i686-pc-linux-gnu |*-*-* Keywords| |pessimizes-code Priority|P2 |P3 Last reconfirmed|0000-00-00 00:00:00 |2003-07-27 05:31:00 date| | ------- Additional Comments From pinskia at physics dot uc dot edu 2003-07-27 05:31 ------- I can confirm this on the mainline (20030726) on powerpc-apple-darwin6.6 on a powerpc 750. The problem is that are large number of stores in the loop which is redudent which might be able to fixed by store motion but are not. On the mainline, GCC inlines the method so there is no need for always_inline any more.