diff options
author | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-21 16:31:54 +0000 |
---|---|---|
committer | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-21 16:31:54 +0000 |
commit | 860e55323a23357a9969ff48ce995bc6a2cd1417 (patch) | |
tree | c90198778052c826ca58870d075487c46c3944c1 /gcc/c-opts.c | |
parent | 6e03009448406dbe2bf36d8a20a1b5f21d8da2a1 (diff) | |
download | gcc-860e55323a23357a9969ff48ce995bc6a2cd1417.tar.gz |
2004-10-21 Andrew Pinski <pinskia@physics.uc.edu>
PR c/17538
* c-opts.c (push_command_line_include): Use the current file
name instead of the main one.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89385 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-opts.c')
-rw-r--r-- | gcc/c-opts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-opts.c b/gcc/c-opts.c index 82932cec4f3..146ef578c9e 100644 --- a/gcc/c-opts.c +++ b/gcc/c-opts.c @@ -1353,7 +1353,7 @@ push_command_line_include (void) cpp_opts->warn_unused_macros = warn_unused_macros; /* Restore the line map from <command line>. */ if (!cpp_opts->preprocessed) - cpp_change_file (parse_in, LC_RENAME, main_input_filename); + cpp_change_file (parse_in, LC_RENAME, this_input_filename); /* Set this here so the client can change the option if it wishes, and after stacking the main file so we don't trace the main file. */ |