https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72765
--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> --- Author: marxin Date: Mon Aug 15 11:20:09 2016 New Revision: 239477 URL: https://gcc.gnu.org/viewcvs?rev=239477&root=gcc&view=rev Log: Fix invalid memory access in gcc.c (driver/72765) Backported from mainline 2016-08-15 Martin Liska <mli...@suse.cz> PR driver/72765 * gcc.c (do_spec_1): Call save_string with the right size. (save_string): Do an assert about string we copy. Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/gcc.c