> For what is worth I did the test again but this time I separated the main > and f1 in two separate C files. I compiled them separately and then linked > them together. This time the function was never inlined (even if there is > just one or two calls, i.e. NC=1 or 2). You need LTO (-flto) to inline between different compilation units. -- Eric Botcazou