This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/31362] gcc should not inline functions with 'section' attribute
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Mar 2007 20:21:31 -0000
- Subject: [Bug c/31362] gcc should not inline functions with 'section' attribute
- References: <bug-31362-1331@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #16 from pinskia at gcc dot gnu dot org 2007-03-26 21:21 -------
You supposed to mark all functions which you don't want inlined as noinline.
that is what the noinline attribute is there for. The inliner is just too
smart that is all. If you want a dumber inliner fine, but don't complain to us
when the inliner is not as good any more.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31362