diff options
author | Per Bothner <per@bothner.com> | 2005-04-24 16:27:37 -0700 |
---|---|---|
committer | Per Bothner <bothner@gcc.gnu.org> | 2005-04-24 16:27:37 -0700 |
commit | 1fb2fbeb218f505cd073a975b171eca5194bd6ef (patch) | |
tree | 54c6710a59eeb94fad888a28ae8c744e0bb79e09 /gcc/c-opts.c | |
parent | 9c789af2643394f292b8614f8137015d3f746081 (diff) | |
download | gcc-1fb2fbeb218f505cd073a975b171eca5194bd6ef.zip gcc-1fb2fbeb218f505cd073a975b171eca5194bd6ef.tar.gz gcc-1fb2fbeb218f505cd073a975b171eca5194bd6ef.tar.bz2 |
c-opts.c (finish_options): Make the line-number of the <built-in> location 0...
* c-opts.c (finish_options): Make the line-number of the <built-in>
location 0, as assumed elsewhere, rather than 1.
From-SVN: r98685
Diffstat (limited to 'gcc/c-opts.c')
-rw-r--r-- | gcc/c-opts.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/c-opts.c b/gcc/c-opts.c index 506543a..4ac8e9d 100644 --- a/gcc/c-opts.c +++ b/gcc/c-opts.c @@ -1302,7 +1302,10 @@ finish_options (void) { size_t i; - cpp_change_file (parse_in, LC_RENAME, _("<built-in>")); + cb_file_change (parse_in, + linemap_add (&line_table, LC_RENAME, 0, + _("<built-in>"), 0)); + cpp_init_builtins (parse_in, flag_hosted); c_cpp_builtins (parse_in); |