aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/utils.c')
-rw-r--r--gcc/ada/utils.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/ada/utils.c b/gcc/ada/utils.c
index e74d5a2..d579943 100644
--- a/gcc/ada/utils.c
+++ b/gcc/ada/utils.c
@@ -1663,8 +1663,7 @@ create_label_decl (label_name)
DECL_CONTEXT (label_decl) = current_function_decl;
DECL_MODE (label_decl) = VOIDmode;
- DECL_SOURCE_LINE (label_decl) = input_line;
- DECL_SOURCE_FILE (label_decl) = input_filename;
+ DECL_SOURCE_LOCATION (label_decl) = input_location;
return label_decl;
}