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
This commit is contained in:
Joseph Myers 2011-05-16 19:34:31 +01:00 committed by Joseph Myers
parent 4bc2a7a7c3
commit 9e8d926edd
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2011-05-16 Joseph Myers <joseph@codesourcery.com>
PR preprocessor/48677
* cppspec.c (lang_specific_driver): Set new_decoded_options[0]
from decoded_options[0], not from itself.
2011-05-16 Uros Bizjak <ubizjak@gmail.com>
* config/i386/constraints.md (z): New constraint.

View File

@ -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)