[Patch, Fortran] PR58226 - Avoid invalid mem access with compiler_options
Steve Kargl
sgk@troutmask.apl.washington.edu
Wed Oct 9 23:11:00 GMT 2013
On Wed, Oct 09, 2013 at 11:51:30PM +0200, Tobias Burnus wrote:
> A rather obvious fix; the memory is freed by the caller
> (gfc_simplify_compiler_options). It is unlikely that the compiler has no
> arguments as the driver tends to send some, e.g. "-mtune=generic
> -march=x86-64" on my system. However, it is better to be safe than sorry.
>
> Build and regtested on x86-64-gnu-linux.
> OK?
>
Ok.
--
Steve
More information about the Gcc-patches
mailing list