The function attribute pure allows you to declare a function that can be called fewer times than what is literally in the source code. Declaring a function with the attribute pure indicates that the function has no effect except a return value that depends only on the parameters, global variables, or both. The syntax is the same as that for const.
See also #pragma isolated_call in XL C/C++ Compiler Reference.
Related References