diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-22 05:09:32 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-22 05:09:32 +0000 |
commit | 346064d966aacf0e32acbe60228695344d446f0f (patch) | |
tree | d942bc168b4a8f91e17acf863e1d2091ff773b6c /gcc/java/resource.c | |
parent | 99b72d8df1d8826dba9eab345e6862f6582943de (diff) | |
download | gcc-346064d966aacf0e32acbe60228695344d446f0f.tar.gz |
Revert DECL_SOURCE_LOCATION -> TREE_LOCUS change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71641 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/resource.c')
-rw-r--r-- | gcc/java/resource.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/java/resource.c b/gcc/java/resource.c index 25b8a81010d..b71a6709f5e 100644 --- a/gcc/java/resource.c +++ b/gcc/java/resource.c @@ -114,6 +114,7 @@ write_resource_constructor (void) init_type = build_function_type (void_type_node, end_params_node); init_decl = build_decl (FUNCTION_DECL, init_name, init_type); + DECL_SOURCE_LINE (init_decl) = 0; SET_DECL_ASSEMBLER_NAME (init_decl, init_name); TREE_STATIC (init_decl) = 1; current_function_decl = init_decl; @@ -139,7 +140,7 @@ write_resource_constructor (void) Pmode); } - input_location = TREE_LOCUS (init_decl); + input_location = DECL_SOURCE_LOCATION (init_decl); expand_function_end (); poplevel (1, 0, 1); { |