https://sourceware.org/bugzilla/show_bug.cgi?id=31130
--- Comment #3 from Alan Modra <amodra at gmail dot com> --- (In reply to yuxuan He from comment #2) > actually, i don't mean that XNEWVEC return a stack address, i mean "depth" > is stack address and it has been store into new_storage That too is not a problem. Given "char *p = C_alloca (size)", any access outside the range [p, p+size) is undefined behaviour. -- You are receiving this mail because: You are on the CC list for the bug.