head	1.2;
access;
symbols
	RELEASE_5_3_0:1.1
	RELEASE_4_10_0:1.1
	RELEASE_5_2_1:1.1
	RELEASE_5_2_0:1.1
	RELEASE_4_9_0:1.1
	RELEASE_5_1_0:1.1;
locks; strict;
comment	@# @;


1.2
date	2004.12.12.17.25.50;	author obrien;	state dead;
branches;
next	1.1;

1.1
date	2003.03.26.17.42.31;	author gerald;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Unbreak the port by remove the Java language from this port.  Anyone
using GCC 3.2 isn't using it for the Java compiler, but for C/C++ code.
@
text
@--- gcc/java/gjavah.c.orig	Wed Feb  5 20:39:02 2003
+++ gcc/java/gjavah.c	Wed Feb  5 20:43:53 2003
@@@@ -750,10 +750,14 @@@@
 		jfloat fnum = JPOOL_FLOAT (jcf, current_field_value);
 		fputs ("const jfloat ", out);
 		print_field_name (out, jcf, name_index, 0);
+#ifdef __alpha__
+                  fputs (";\n", out);
+#else
 		if (! java_float_finite (fnum))
 		  fputs (";\n", out);
 		else
 		  fprintf (out, " = %.10g;\n",  fnum);
+#endif
 	      }
 	      break;
 	    case CONSTANT_Double:
@@@@ -761,10 +765,14 @@@@
 		jdouble dnum = JPOOL_DOUBLE (jcf, current_field_value);
 		fputs ("const jdouble ", out);
 		print_field_name (out, jcf, name_index, 0);
+#ifdef __alpha__
+                  fputs (";\n", out);
+#else
 		if (! java_double_finite (dnum))
 		  fputs (";\n", out);
 		else
 		  fprintf (out, " = %.17g;\n",  dnum);
+#endif
 	      }
 	      break;
 	    default:
@


1.1
log
@Enable libgcj (which has actually been building fine since GCC 3.1 on
FreeBSD/i386 and works on FreeBSD/alpha using the hack in files/patch-ub).

PR:			47790
Partially Submitted by:	Loren James Rittle <rittle@@labs.mot.com>
@
text
@@

