[Bug optimization/11680] member access of C++ class with all methods inline should be optimized better

pinskia at physics dot uc dot edu gcc-bugzilla@gcc.gnu.org
Sun Jul 27 05:31:00 GMT 2003


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.



More information about the Gcc-bugs mailing list