java patch: fix for -pg builds

Anthony Green green@cygnus.com
Sun Aug 13 09:48:00 GMT 2000


This patch was approved a long time ago by apbianco in these PR notes:
http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view&pr=86&database=java

I am checking it in.

Sun Aug 13 09:41:49 2000  Anthony Green  <green@redhat.com>

	* check-init.c (check_init): Add case for BIT_FIELD_REF (required
	for -pg builds).

Index: check-init.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/java/check-init.c,v
retrieving revision 1.23
diff -u -p -r1.23 check-init.c
--- check-init.c	2000/06/22 05:17:33	1.23
+++ check-init.c	2000/08/13 16:43:15
@@ -611,6 +611,7 @@ check_init (exp, before)
     case BIT_NOT_EXPR:
     case CONVERT_EXPR:
     case COMPONENT_REF:
+    case BIT_FIELD_REF:
     case NOP_EXPR:
     case FLOAT_EXPR:
     case FIX_TRUNC_EXPR:

AG


More information about the Gcc-patches mailing list