This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/54123] inline functions not optimized as well as static inline
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 30 Jul 2012 09:05:25 +0000
- Subject: [Bug middle-end/54123] inline functions not optimized as well as static inline
- Auto-submitted: auto-generated
- References: <bug-54123-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54123
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |missed-optimization
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-07-30
CC| |hubicka at gcc dot gnu.org,
| |rguenth at gcc dot gnu.org
Ever Confirmed|0 |1
--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-07-30 09:05:25 UTC ---
Confirmed. inline and static inline should be the same with C99.
Honza - I suppose inlining static functions called once may be the
reason this doesn't work with plain 'inline'. I guess we need a better
predicate here? inline functions called once whose bodies can be
removed?