This is the mail archive of the gcc@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] |
I use cygwin gcc 2.9x (and 3.2 sometimes) on x86 or the pe executable format and i have a quick question about alloca().
1. If i support a new OS, i need to support alloca() in libgcc.a for the new OS runtime.
2. Is there a way i prevent the compiler from generating assembly code which calls alloca () ?
Basically, i want gcc to substitute inline the assembly which would do
what alloca() does without making a call to the function. I tried -fno-builtin which prevents alloca() from being defined even though it's called.
3. Is it true that if one declares a large array on stack, gcc attempts to satisfy that memory requirement from the .data section instead of the stack ?
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |