summaryrefslogtreecommitdiff
path: root/gcc/cppmain.c
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2001-02-21 07:29:56 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2001-02-21 07:29:56 +0000
commit7e555f5f60ed5adf91885c2c2b4f02687f131210 (patch)
tree63deedc494f43a8e08b2973548c30e790dcbbe8d /gcc/cppmain.c
parent3970e8910fe5cfbdfcdb502b5e2aa2a53a92fda4 (diff)
downloadgcc-7e555f5f60ed5adf91885c2c2b4f02687f131210.tar.gz
* cppfiles.c: Update comments.
(_cpp_read_file): Don't check for NULL filenames any more. * cppinit.c (cpp_start_read): Don't do canonicalization of in_fname and out_fname. Use the passed file name exclusively. (_cpp_handle_options): Don't treat "-" as a command line option, but as a normal filename. (_cpp_post_options): Canonicalize in_fname and out_fname. * cppmain.c (printer_init): Don't check out_fname for NULL. * c-lex.c (orig_filename): Rename cpp_filename for clarity. (init_c_lex): Update, and use "" to represent stdin to CPP. (yyparse): Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39938 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cppmain.c')
-rw-r--r--gcc/cppmain.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/cppmain.c b/gcc/cppmain.c
index a68d19cf9db..6d3afe0147b 100644
--- a/gcc/cppmain.c
+++ b/gcc/cppmain.c
@@ -271,9 +271,6 @@ printer_init (pfile)
print.lineno = 0;
print.printed = 0;
- if (options->out_fname == NULL)
- options->out_fname = "";
-
if (options->out_fname[0] == '\0')
print.outf = stdout;
else