internal error in check-init

Fredrik Warg warg@ce.chalmers.se
Wed Apr 19 13:43:00 GMT 2000


On 19 Apr 2000, Per Bothner wrote:

> Yes.  A FIELD_DECL is not a valid expression by itself,
> so it should not be passed to check_init.  Instead, I
> suspect there is some other tree node that *refers to*
> a FIELD_DECL, and that parent tree node is where the
> real error is.
> 
> So I suggest running jc1 under gdb, and go up one or
> more stack frames to examine the context of the FIELD_DECL.
> I.e. what kind of node is being passed to check_init in
> the outer one or two calls to check_init.

I'll try that, thanks.


On 19 Apr 2000, Alexandre Petit-Bianco wrote:

> Definitively. This is a bug which depends on the source your
> compiling.  Can you please file a PR with our bug tracking system
> (GNATS), at the following URL:
>
>   http://sourceware.cygnus.com/cgi-bin/gnatsweb.pl 
>
> (It would be helpful if you could corner the bug within a small
>  source code example.)

Ok, will do that later (when I get back from my vacation :)

/Fredrik



More information about the Java mailing list