diff options
Diffstat (limited to 'gcc/cp/decl.c')
-rw-r--r-- | gcc/cp/decl.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 85186c97c24..5a5a81a4d01 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -357,12 +357,7 @@ pop_label (tree label, tree old_value) location_t location; error ("label %q+D used but not defined", label); -#ifdef USE_MAPPED_LOCATION location = input_location; /* FIXME want (input_filename, (line)0) */ -#else - location.file = input_filename; - location.line = 0; -#endif /* Avoid crashing later. */ define_label (location, DECL_NAME (label)); } @@ -11807,14 +11802,10 @@ finish_function (int flags) /* Hack. We don't want the middle-end to warn that this return is unreachable, so put the statement on the special line 0. */ -#ifdef USE_MAPPED_LOCATION { location_t linezero = linemap_line_start (line_table, 0, 1); SET_EXPR_LOCATION (stmt, linezero); } -#else - annotate_with_file_line (stmt, input_filename, 0); -#endif } if (use_eh_spec_block (current_function_decl)) |