Option Type | Default Value | #pragma options | C | C++ |
-flag | - | - | x | x |
Syntax
-ma
Purpose
Substitutes inline code for calls to function alloca
as if #pragma alloca directives are in the
source code.
Notes
If #pragma alloca is unspecified, or if you do
not use -ma, alloca is treated
as a user-defined identifier rather than as a built-in function.
C++ programs must also specify #include <malloc.h> to include the alloca function declaration.
Example
To compile myprogram.c so that calls to the function alloca
are treated as inline, enter:
xlC myprogram.c -ma
List of Compiler Options and Their
Defaults
Options that Define the Compiler Object
Code Produced