comparison gcc/c-decl.c @ 36:855418dad1a3

gcc-4.4-20091020
author e075725
date Tue, 22 Dec 2009 21:19:31 +0900
parents a06113de4d67
children 27e6f95b2c21 3bfb6c00c1e0
comparison
equal deleted inserted replaced
19:58ad6c70ea60 36:855418dad1a3
3378 if ((TREE_CODE (decl) == FUNCTION_DECL || TREE_CODE (decl) == VAR_DECL) 3378 if ((TREE_CODE (decl) == FUNCTION_DECL || TREE_CODE (decl) == VAR_DECL)
3379 && DECL_FILE_SCOPE_P (decl)) 3379 && DECL_FILE_SCOPE_P (decl))
3380 asmspec_tree = maybe_apply_renaming_pragma (decl, asmspec_tree); 3380 asmspec_tree = maybe_apply_renaming_pragma (decl, asmspec_tree);
3381 if (asmspec_tree) 3381 if (asmspec_tree)
3382 asmspec = TREE_STRING_POINTER (asmspec_tree); 3382 asmspec = TREE_STRING_POINTER (asmspec_tree);
3383
3384 if (TREE_CODE (decl) == VAR_DECL
3385 && TREE_STATIC (decl)
3386 && global_bindings_p ())
3387 /* So decl is a global variable. Record the types it uses
3388 so that we can decide later to emit debug info for them. */
3389 record_types_used_by_current_var_decl (decl);
3383 3390
3384 /* If `start_decl' didn't like having an initialization, ignore it now. */ 3391 /* If `start_decl' didn't like having an initialization, ignore it now. */
3385 if (init != 0 && DECL_INITIAL (decl) == 0) 3392 if (init != 0 && DECL_INITIAL (decl) == 0)
3386 init = 0; 3393 init = 0;
3387 3394