aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index b82a6bf..ef720ae 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -287,7 +287,7 @@ make_node (enum tree_code code)
DECL_ALIGN (t) = 1;
DECL_USER_ALIGN (t) = 0;
DECL_IN_SYSTEM_HEADER (t) = in_system_header;
- DECL_SOURCE_LOCATION (t) = input_location;
+ set_tree_locus (t, input_location);
DECL_UID (t) = next_decl_uid++;
/* We have not yet computed the alias set for this declaration. */