diff options
author | Ranjit Mathew <rmathew@hotmail.com> | 2002-12-06 20:10:33 +0000 |
---|---|---|
committer | Andrew Haley <aph@gcc.gnu.org> | 2002-12-06 20:10:33 +0000 |
commit | 0cc1565af00c141e5ad2be28e0312d57dcdcced5 (patch) | |
tree | fcd9fdfa4b4eca6d4977f685f8b7bfde8df52eb6 /gcc/java | |
parent | aa06e8f5d2eee1cef86465b19b75339df51c2fdd (diff) | |
download | gcc-0cc1565af00c141e5ad2be28e0312d57dcdcced5.zip gcc-0cc1565af00c141e5ad2be28e0312d57dcdcced5.tar.gz gcc-0cc1565af00c141e5ad2be28e0312d57dcdcced5.tar.bz2 |
parse.y (source_end_java_method): Remove custom encoding of line numbers for a function decl before passing it to...
2002-12-05 Ranjit Mathew <rmathew@hotmail.com>
Andrew Haley <aph@redhat.com>
* parse.y (source_end_java_method): Remove custom encoding of line
numbers for a function decl before passing it to the back end.
Co-Authored-By: Andrew Haley <aph@redhat.com>
From-SVN: r59892
Diffstat (limited to 'gcc/java')
-rw-r--r-- | gcc/java/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/java/parse.y | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index afe7b64..c6d0de1 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,9 @@ +2002-12-05 Ranjit Mathew <rmathew@hotmail.com> + Andrew Haley <aph@redhat.com> + + * parse.y (source_end_java_method): Remove custom encoding of line + numbers for a function decl before passing it to the back end. + 2002-12-03 Andrew Haley <aph@redhat.com> * class.c (make_class_data): New field, "chain". 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); } |