Name mangling once again

Jeff Sturm jeff.sturm@commerceone.com
Mon Feb 5 16:58:00 GMT 2001


Alexandre Petit-Bianco wrote:
> The source of the problem seems that I introduced a change to handle
> the `Synthetic' attribute for things we read from classfiles. But it
> looks like this shouldn't be used on fields as it will prevent them
> from being generated properly. The incriminate code is in
> java/class.c:make_class_data:

What concerns me is how the compiler is forgetting to emit some of these DECLs.
Regardless of DECL_ARTIFICIAL if the variable is referenced anywhere, it must be
generated. Somehow wrapup_global_declarations is dropping these. We saw
similar problems with static arrays.
I'd like to look at it a bit closer. I've come a long way understanding the
interaction of make_decl_rtl and rest_of_decl_compilation but haven't fingered
the problem yet.
--
Jeff Sturm
jeff.sturm@commerceone.com


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /