opts-common.c (decode_cmdline_option): Print empty string argument as "" in decoded...
authorJie Zhang <jie@codesourcery.com>
Wed, 23 Feb 2011 02:04:43 +0000 (02:04 +0000)
committerJie Zhang <jiez@gcc.gnu.org>
Wed, 23 Feb 2011 02:04:43 +0000 (02:04 +0000)
commit7fcf46f509414d97aea64a10f441781ad8c4b9de
treeda36449698452cc5da633bd67569a6ff13a6529d
parentf85b70fda4fca7f96777eebef3956383bbf4771f
opts-common.c (decode_cmdline_option): Print empty string argument as "" in decoded->orig_option_with_args_text.

* opts-common.c (decode_cmdline_option): Print empty string
argument as "" in decoded->orig_option_with_args_text.
* gcc.c (execute): Print empty string argument as ""
in the verbose output.
(do_spec_1): Keep empty string argument.

testsuite/
* gcc.dg/cpp/include7.c: New test.

From-SVN: r170426
gcc/ChangeLog
gcc/gcc.c
gcc/opts-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/include7.c [new file with mode: 0644]