From 3c20847b8301eb9aa407ee8273b6e738e7067ee0 Mon Sep 17 00:00:00 2001 From: Per Bothner Date: Wed, 30 Jun 2004 11:05:07 -0700 Subject: Conditionally compile support for --enable-mapped_location. * basic-block.h (struct edge_def): Use new source_locus typedef. * c-common.c (fname_decl): Update save/clear/store of input_location. (c_do_switch_warnings): Update for USE_MAPPED_LOCATION case. * c-decl.c: Likewise. * c-dump.c (dump_stmt): Likewise. * c-gimplify.c (c-gimplify.c): Generalize using SET_EXPR_LOCATION. * c-lex.c (cb_line_change): If USE_MAPPED_LOCATION use token's src_loc to set input_location direction, rather than using linemap_lookup. (fe_file_change, cb_def_pragma): Again use source_location directly. * c-opts.c (saved_lineno): Remove static variable. (c_common_post_options, c_common_init): Don't bothner to save, clear and restore input_Location - now handled by lang_dependent_init. * function.c (init_function_start): Use new DECL_IS_BUILTIN macro. * xcoffout.c (xcoff_assign_fundamental_type_number): Likewise. From-SVN: r83919 --- gcc/xcoffout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/xcoffout.c') diff --git a/gcc/xcoffout.c b/gcc/xcoffout.c index f9d05899..2f0397c 100644 --- a/gcc/xcoffout.c +++ b/gcc/xcoffout.c @@ -156,7 +156,7 @@ xcoff_assign_fundamental_type_number (tree decl) size_t i; /* Do not waste time searching the list for non-intrinsic types. */ - if (DECL_NAME (decl) == 0 || DECL_SOURCE_LINE (decl) > 0) + if (DECL_NAME (decl) == 0 || ! DECL_IS_BUILTIN (decl)) return 0; name = IDENTIFIER_POINTER (DECL_NAME (decl)); -- cgit v1.1