This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]