diff options
author | Rong Xu <xur@google.com> | 2013-04-27 02:51:29 +0000 |
---|---|---|
committer | Dehao Chen <dehao@google.com> | 2013-04-27 02:51:29 +0000 |
commit | bf20c1d72a839e2836fd7a66d18e49f97830395b (patch) | |
tree | df9fa6531074d5772c46de02ee02552a7596e9a0 | |
parent | 76e89d0e0d917f5fc8ff1f57fff0925cc828b8ed (diff) |
Backport r185150 from google/main
2012-03-09 Rong Xu <xur@google.com>
* opts-global.c (lipo_save_cl_args): save -std option.
Google ref b/6117980.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/google/gcc-4_7@198354 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/opts-global.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/opts-global.c b/gcc/opts-global.c index fe3b83ba70d..1768747de08 100644 --- a/gcc/opts-global.c +++ b/gcc/opts-global.c @@ -277,7 +277,7 @@ lipo_save_cl_args (struct cl_decoded_option *decoded) */ 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")) |