This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: Java: Fix PR 8618
- From: Graham Stott <graham dot stott at btinternet dot com>
- To: Bryce McKinlay <mckinlay at redhat dot com>
- Cc: java-patches at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Sat, 10 Jul 2004 19:53:23 +0100
- Subject: Re: Patch: Java: Fix PR 8618
- References: <40EF67C7.3030504@redhat.com>
Bryce,
Alas this patch break bootstrap due to warning "statement with no effect" falss foul of warning
being teated as error during stage2 and stage3.
------------------------------------------------------------------------
int
common_enclosing_context_p (tree type1, tree type2)
{
for (type1; type1;
^^^^^ statement with no effect
type1 = (INNER_CLASS_TYPE_P (type1) ?
TREE_TYPE (DECL_CONTEXT (TYPE_NAME (type1))) : NULL_TREE))
...
}
-------------------------------------------------------------------------
Graham