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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch: Java: Fix PR 8618


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


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