This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, Fortran] PR58226 - Avoid invalid mem access with compiler_options


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]