This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
max inline function size
- From: Sam Halliday <fommil at yahoo dot ie>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 29 Nov 2002 19:03:58 +0000
- Subject: max inline function size
hi there,
gcc-3.2.1 seems to avoid inlining some functions declared 'inline' if it
feels they are too big, i think this is a bug as the code itself should
have ultimate control over what it sees fit to be inlined. in order to
compile some code inlined where it needs to be, i have had to resort to
using
--param max-inline-insns=1000000000000
alongside -O2 (heaven forbid i use -O3 here!!)
am i solving this in a silly way, ie does gcc have a command line option
to give my code the power to inline what it wants without fear of the
compiler overriding it?
cheers, and thanks very much in advance!
Sam
PS: please CC responses to me
--
The greatest griefs are those we cause ourselves.
-- Sophocles