https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95456
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Alexandre Oliva <aol...@gcc.gnu.org>: https://gcc.gnu.org/g:2e6a6644db0ef0f369df4e5b1b337122d84c1a39 commit r11-1014-g2e6a6644db0ef0f369df4e5b1b337122d84c1a39 Author: Alexandre Oliva <ol...@adacore.com> Date: Fri Jun 5 22:31:19 2020 -0300 [PR95456] avoid memcpy (_, NULL, 0) in gcc.c Some newly-added code in gcc.c might call memcpy with a NULL source pointer and zero-length inputs. Avoid such calls by rearranging the code a little. for gcc/ChangeLog PR driver/95456 * gcc.c (do_spec_1): Don't call memcpy (_, NULL, 0).