This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/19943] missed optimization: memcpy is invoked with small size known upfront if invoked through inlined function(s)


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-13 20:56 -------
Fixed in 4.0 by doing some const progation before expanding to RTL.
A way to get around this before 4.0 you can declare sz as constant aka:
  inline static void wr(char *buf, const int sz)

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
           Keywords|                            |missed-optimization
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19943


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]