This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/11680] member access of C++ class with all methods inline should be optimized better
- From: "pinskia at physics dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Jul 2003 05:31:01 -0000
- Subject: [Bug optimization/11680] member access of C++ class with all methods inline should be optimized better
- References: <20030727051349.11680.dbaron@dbaron.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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.