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
This commit is contained in:
Per Bothner 2005-04-24 16:27:37 -07:00 committed by Per Bothner
parent 9c789af264
commit 1fb2fbeb21
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-04-24 Per Bothner <per@bothner.com>
* c-opts.c (finish_options): Make the line-number of the <built-in>
location 0, as assumed elsewhere, rather than 1.
2005-04-24 Kazu Hirata <kazu@cs.umass.edu>
* tree-ssa-uncprop.c (equiv_stack): Change the type o

View File

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