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: 26 Mar 2007 14:51:32 -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 #7 from rguenth at gcc dot gnu dot org 2007-03-26 15:51 -------
Note that for your testcase even if you specify the noinline attribute the
function calls will be optimized away as the function calls do not have
side-effects.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31362