This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
bogus `explicit braces' warning
- To: egcs-bugs at cygnus dot com
- Subject: bogus `explicit braces' warning
- From: Richard Henderson <rth at cygnus dot com>
- Date: Mon, 15 Dec 1997 16:46:55 -0800
- Reply-To: egcs-bugs at cygnus dot com
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~