diff options
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r-- | gcc/c-decl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 5cad16ee69f..42f8bad4254 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -6335,7 +6335,11 @@ finish_function (void) /* 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 + SET_EXPR_LOCATION (stmt, UNKNOWN_LOCATION); +#else annotate_with_file_line (stmt, input_filename, 0); +#endif } } } |