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: Backport r185150 to google-4_7 and google-4_8(save --std flag as cl_args)


Ok.

David

On Fri, Apr 26, 2013 at 6:42 PM, Dehao Chen <dehao@google.com> wrote:
> Bootstrapped and passed regression tests.
>
> Okay for google-4_7 and google-4_7 branches?
>
> Thanks,
> Dehao
>
> 2012-03-09   Rong Xu  <xur@google.com>
>
>         * opts-global.c (lipo_save_cl_args): save -std option.
>         Google ref b/6117980.
>
> Index: gcc/opts-global.c
> ===================================================================
> --- gcc/opts-global.c (revision 198164)
> +++ gcc/opts-global.c (working copy)
> @@ -277,7 +277,7 @@ lipo_save_cl_args (struct cl_decoded_option *decod
>    */
>    if (opt[0] == '-'
>        && (opt[1] == 'f' || opt[1] == 'm' || opt[1] == 'W' || opt[1] == 'O'
> -  || (strstr (opt, "--param") == opt))
> +  || (strstr (opt, "--param") == opt) || (strstr (opt, "-std=")))
>        && !strstr(opt, "-frandom-seed")
>        && !strstr(opt, "-fripa-disallow-opt-mismatch")
>        && !strstr(opt, "-Wripa-opt-mismatch"))


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