summaryrefslogtreecommitdiff
path: root/gcc/cppspec.c
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2011-05-16 18:34:31 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2011-05-16 18:34:31 +0000
commite9a7bf994a683a4d0edd4482319b72e2bf68653c (patch)
tree12829022c029a265b987f27f6ca369970e17d946 /gcc/cppspec.c
parent9789a35a681afe041e6e85c536816e8480c2068e (diff)
PR preprocessor/48677
* cppspec.c (lang_specific_driver): Set new_decoded_options[0] from decoded_options[0], not from itself. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173801 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cppspec.c')
-rw-r--r--gcc/cppspec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cppspec.c b/gcc/cppspec.c
index 6ca1660845a5..c9ff70e5544d 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)