diff options
Diffstat (limited to 'gcc/cp/decl.c')
-rw-r--r-- | gcc/cp/decl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 072519c..bfe503f 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -10593,7 +10593,11 @@ 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 + SET_EXPR_LOCATION (stmt, UNKNOWN_LOCATION); +#else annotate_with_file_line (stmt, input_filename, 0); +#endif } /* Finish dealing with exception specifiers. */ |