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 to maybe_yank_clinit



Per Bothner writes:

> After my most recent checkins, some tests fail because <clinit> was
> elided.

Eluding <clinit> worked in the past for the String type because the
field was given a constant value and hence initialized properly by the
VM.

> Do can you think of a problem with my patch?

No, I think it correctly takes into account the fact that <clinit>
should be kept in this case now.

It also fixes Tom's problem and tests OK, I think this patch is good
to go.

Thanks,

./A


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