This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 3.2.2 successful builds: GNU/Linux, Solaris, HP-UX


 > Joe, since this problem requires an appropriate version of gas which
 > you seem to already have installed would you test the patch please?
 > I'll check the non-gas case if you like to make sure it doesn't break
 > anything.

This patch has been bootstrapped on sparc-sun-solaris2.7 with native
as/ld against 3.2.x, no java regressions.  Once we hear that it fixes
the solaris2 gas problems I think it is safe to install.


2003-02-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	Backport:
	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.

diff -rup orig/egcc-3.2-CVS20030211/gcc/java/parse.y egcc-3.2-CVS20030211/gcc/java/parse.y
--- orig/egcc-3.2-CVS20030211/gcc/java/parse.y	Mon Oct 21 16:19:14 2002
+++ egcc-3.2-CVS20030211/gcc/java/parse.y	Tue Feb 11 23:55:54 2003
@@ -7473,6 +7473,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);
     }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]