java/1866: Array initializer: undefined reference to `LJv0.0'

Alexandre Petit-Bianco apbianco@cygnus.com
Sun Apr 1 00:00:00 GMT 2001


The following reply was made to PR java/1866; it has been noted by GNATS.

From: Alexandre Petit-Bianco <apbianco@cygnus.com>
To: tromey@redhat.com
Cc: Bryce McKinlay <bryce@albatross.co.nz>, gcc-gnats@gcc.gnu.org
Subject: Re: java/1866: Array initializer: undefined reference to `LJv0.0'
Date: Mon, 5 Feb 2001 14:43:03 -0800 (PST)

 Tom Tromey writes:
 > Maybe this should be:
 > 
 > 	    rest_of_decl_compilation (init_decl, NULL, 1, 0);
 
 I guess we can say that initial values from initialized arrays are
 being defined (at least by the compiler) outside of a function. Only
 the targeted initialized array might.
 
 It would probably more accurate and isolate us from further changes,
 as DECL_INITIAL being set to something is the driving factor behind
 emitting the symbol and making your patch work.
 
 ./A


More information about the Gcc-prs mailing list