diff options
author | Joseph Myers <joseph@codesourcery.com> | 2011-05-16 19:34:31 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2011-05-16 19:34:31 +0100 |
commit | 9e8d926eddf32d6a2657f251e46cc49a49b6d51f (patch) | |
tree | 12829022c029a265b987f27f6ca369970e17d946 /gcc/cppspec.c | |
parent | 4bc2a7a7c35936a201152f3214ec429a93e22d99 (diff) | |
download | gcc-9e8d926eddf32d6a2657f251e46cc49a49b6d51f.zip gcc-9e8d926eddf32d6a2657f251e46cc49a49b6d51f.tar.gz gcc-9e8d926eddf32d6a2657f251e46cc49a49b6d51f.tar.bz2 |
re PR preprocessor/48677 (cpp.exe broken ?)
PR preprocessor/48677
* cppspec.c (lang_specific_driver): Set new_decoded_options[0]
from decoded_options[0], not from itself.
From-SVN: r173801
Diffstat (limited to 'gcc/cppspec.c')
-rw-r--r-- | gcc/cppspec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cppspec.c b/gcc/cppspec.c index 6ca1660..c9ff70e 100644 --- a/gcc/cppspec.c +++ b/gcc/cppspec.c @@ -1,5 +1,5 @@ /* Specific flags and argument handling of the C preprocessor. - Copyright (C) 1999, 2007, 2010 Free Software Foundation, Inc. + Copyright (C) 1999, 2007, 2010, 2011 Free Software Foundation, Inc. This file is part of GCC. @@ -158,7 +158,7 @@ lang_specific_driver (struct cl_decoded_option **in_decoded_options, new_decoded_options = XNEWVEC (struct cl_decoded_option, new_argc); - new_decoded_options[0] = new_decoded_options[0]; + new_decoded_options[0] = decoded_options[0]; j = 1; if (need_E) |