diff options
Diffstat (limited to 'gcc/java/parse.y')
-rw-r--r-- | gcc/java/parse.y | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/java/parse.y b/gcc/java/parse.y index 97a0e6a..d457f1a 100644 --- a/gcc/java/parse.y +++ b/gcc/java/parse.y @@ -7504,6 +7504,8 @@ source_end_java_method () lineno = DECL_SOURCE_LINE_LAST (fndecl); expand_function_end (input_filename, lineno, 0); + DECL_SOURCE_LINE (fndecl) = DECL_SOURCE_LINE_FIRST (fndecl); + /* Run the optimizers and output assembler code for this function. */ rest_of_compilation (fndecl); } |