This is the mail archive of the gcc-bugs@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]

BUG alloca used as argument to function.


Hi

ALLOCA_BITMAP() which is used by ALLOCA_REG_SET() is implemented as

#define ALLOCA_BITMAP ()  bitmap_initialize ((bitmap)alloca (sizeof(..)))

alloca () should not be used as an argument to a function. 

Graham

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]