This is the mail archive of the
java-discuss@sources.redhat.com
mailing list for the Java project.
RE: testing an integrated build
- To: "'apbianco at cygnus dot com'" <apbianco at cygnus dot com>, "tromey at redhat dot com" <tromey at redhat dot com>
- Subject: RE: testing an integrated build
- From: Anthony Green <green at redhat dot com>
- Date: Sat, 9 Dec 2000 14:54:36 -0800
- Cc: Phil Edwards <pedwards at disaster dot jaj dot com>, "java-discuss at sources dot redhat dot com" <java-discuss at sources dot redhat dot com>
- Organization: Red Hat, Inc.
- Reply-To: "green at cygnus dot com" <green at cygnus dot com>
Alex -
I just discovered this same problem on Alpha linux. Your patch fixes it
(although it's missing a semi-colon). Shouldn't it get checked in?
On Friday, December 08, 2000 10:30 AM, Alexandre Petit-Bianco
[SMTP:apbianco@cygnus.com] wrote:
> Well, I ran into it a few days ago, though on x86. This is our old
> friend in `end_artificial_method_body' There's a work around, but I
> want to work on this ASAP -- let me know if this fixes your build (it
> would definitively confirm a gc problem.)
>
> ./A
>
> Index: parse.y
> ===================================================================
> RCS file: /cvs/gcc/egcs/gcc/java/parse.y,v
> retrieving revision 1.233
> diff -u -p -r1.233 parse.y
> --- parse.y 2000/12/06 20:02:02 1.233
> +++ parse.y 2000/12/08 18:23:36
> @@ -7200,7 +7200,8 @@ static void
> end_artificial_method_body (mdecl)
> tree mdecl;
> {
> - BLOCK_EXPR_BODY (DECL_FUNCTION_BODY (mdecl)) = exit_block ();
> + tree b = exit_block ();
> + BLOCK_EXPR_BODY (DECL_FUNCTION_BODY (mdecl)) = b
> exit_block ();
> }
>