https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120417
--- Comment #9 from Simon Sobisch <simonsobisch at gnu dot org> --- Checked -fstack-reuse=none - same abort. The main issue here is the language this C code has to cover: COBOL allows for any trailing arguments to be "left out". If the COBOL compiler knows about the parameters (via program prototypes, a COBOL2002 "= relative young and not supported by all other compilers"), it adds NULL arguments on the call. The compiler cobc _could_ deduce that as it has one call with 4 arguments, and use that for NULL parameters (this way the numbers are at least identical in the same generated C program, w/wo prototypes). ... of course this may only make recognizing the issue harder (in the case the call comes from two different programs). Would you otherwise suggest to always use -fno-tree-coalesce-vars in the compile (and have an idea how to `possibly do that specific in the architectures that need that)?