__attribute__((noinline)) function attribute

This function attribute suppresses the inlining of a function at the call points of the function.

Note

This function attribute is a GNU compiler extension that is supported by the ARM compiler. It has the __declspec equivalent __declspec(noinline).

Show/hideExample

int fn(void) __attribute__((noinline));

int fn(void)
{
    return 42;
}

Show/hideSee also

Copyright © 2007-2008, 2011 ARM. All rights reserved.ARM DUI 0376C
Non-ConfidentialID061811