The following code is illegal because initializers are
are supposed to run in declared order and arn't allowed to
forward reference each other. gcj does not detect this
static int foo = bar;
static int bar = 5;
Compile the test case.
From: Dara Hazeghi <email@example.com>
To: firstname.lastname@example.org, email@example.com, firstname.lastname@example.org
Subject: Re: java/1330: Forward initializer references not checked
Date: Sun, 11 May 2003 20:07:43 -0700
this bug was reported against (I presume) pre gcc 3.0 sources. Would it
be possible to determine if this problem is still present in current
It still is a problem in the mainline (20030524).
All gcj front end bugs have been fixed by the gcj-eclipse branch merge.
I'm mass-closing the affected PRs.
If you believe one of these was closed in error, please reopen it
with a note explaining why.