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

Never, never, never use alloca (was: fix giant memory leak)



I put defines into fixinc/gnu-regex.c to *ENSURE* that
it would never, ever call that silly optimization again.
What happened?  Who changed it and why?  Finding the
problem in the first place was a big pain because I
knew not where to look and I could not reproduce the problem
on the platforms I had access to at the time.
Never, never, never use alloca.  It's broken without
direct compiler support.


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