This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patch: Fix for PR 1866


Tom Tromey wrote:
>         * expr.c (java_lang_expand_expr): Don't bother recomputing
>         `length'.  Use rest_of_decl_compilation, not make_decl_rtl.
>         Fixes PR java/1866.

Hmm... this inspired me to try to fix java/1880.  Same symptom, same fix.  I
used rest_of_decl_compilation in build_static_field_ref and the test case now
works.

It seems like there's been some breakage lately in make_decl_rtl but I can't put
my finger on it.

--
Jeff Sturm
jeff.sturm@commerceone.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]