On Tue, 2020-01-14 at 23:33 +0000, Joseph Myers wrote: > My preference is still what I said in > <https://gcc.gnu.org/ml/gcc-patches/2019-11/msg02003.html>;: either > eliminate C alloca from libiberty, or don't build it with any compiler > defining __GNUC__. I'd be surprised if there are host compilers that > build libiberty, have the relevant optimizations but don't support alloca. I wasn't even aware that c-alloca came up in that thread! I'd been leaving all the sanitizer related stuff to others.
I'd certainly support dropping c-alloca support from libiberty. I totally agree that it's only purpose was to support ancient compilers. I don't think I've seen c-alloca being used since the late 90s and I think we started dropping all the alloca (0) that existed solely to support c-alloca eons ago. jeff