This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH to maybe_yank_clinit
- To: Per Bothner <per at bothner dot com>
- Subject: Re: PATCH to maybe_yank_clinit
- From: Alexandre Petit-Bianco <apbianco at cygnus dot com>
- Date: Tue, 4 Sep 2001 13:57:58 -0700 (PDT)
- Cc: gcc-patches at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- References: <200109012203.f81M3Bo07877@eureka.bothner.com>
- Reply-To: apbianco at cygnus dot com
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