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: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Mar 2007 13:22:28 -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 #18 from rguenth at gcc dot gnu dot org 2007-03-27 14:22 -------
Well, you can continue to waste your time arguing here instead of fixing your
code
with a few additions of noinline.
'The `section' attribute specifies that
a function lives in a particular section.'
this just says that the function (the out-of-line copy) lives in a particular
section. It doesn't mention inlined copies of the function _body_.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31362