bogus `explicit braces' warning
Richard Henderson
rth@cygnus.com
Mon Dec 15 16:45:00 GMT 1997
gcc/f/expr.c:18034: warning: suggest explicit braces to avoid ambiguous `else'
case FFEINFO_kindENTITY:
if (ffesymbol_rank (s) == 0)
if (ffeexpr_stack_->context == FFEEXPR_contextEQUIVALENCE)
*paren_type = FFEEXPR_parentypeEQUIVALENCE_;
>>> else if (ffesymbol_basictype (s) == FFEINFO_basictypeCHARACTER)
*paren_type = FFEEXPR_parentypeSUBSTRING_;
else
{
bad = TRUE;
*paren_type = FFEEXPR_parentypeANY_;
}
else
*paren_type = FFEEXPR_parentypeARRAY_;
break;
Note that all of the else clauses are full. Therefore there can be
no ambiguity.
r~
More information about the Gcc-bugs
mailing list