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 15:28:36 -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 #9 from rguenth at gcc dot gnu dot org 2007-03-26 16:28 -------
We inline static functions used once (special_function_0 in your testcase)
starting with the tree inliner which appeared in 3.4.0. So the "bug" is
present
in all releases starting from 3.4.0 and still present in mainline.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |3.4.0 4.3.0
Known to work| |3.3.6
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31362