Patch: Java: Fix PR 8618

Graham Stott graham.stott@btinternet.com
Sat Jul 10 23:28:00 GMT 2004


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



More information about the Gcc-patches mailing list