On Tue, Nov 27, 2012 at 10:19 PM, H.J. Lu <hjl.to...@gmail.com> wrote: > On Tue, Nov 27, 2012 at 2:07 AM, Richard Biener > <richard.guent...@gmail.com> wrote: >> On Tue, Nov 27, 2012 at 9:32 AM, Markus Trippelsdorf >> <mar...@trippelsdorf.de> wrote: >>> On 2012.11.26 at 13:58 -0800, H.J. Lu wrote: >>>> Hi, >>>> >>>> OPT_SPECIAL_unknown, OPT_SPECIAL_ignore, OPT_SPECIAL_program_name and >>>> OPT_SPECIAL_input_file are special options, which aren't in cl_options. >>>> This patch avoids >>>> >>>> if (!(cl_options[foption->opt_index].flags & CL_TARGET)) >>>> >>>> on them. This patch skips them. OK to install? >>> >>> The same fix is necessary for gcc/lto-opts.c. >>> This solves the issue from PR54795 comment 5, 13 and 20. >> >> Ok for both patches. >> > > Fixed on trunk. The same invalid memory access exists on 4.7 branch. > OK to backport to 4.7?
Yes, of course. Thanks, Richard. > Thanks. > > -- > H.J.