egcs-980129, fixed ambiguous `else' warnings in the gcc/f/ dir.

Richard Henderson rth@cygnus.com
Thu Feb 12 20:07:00 GMT 1998


On Thu, Feb 12, 1998 at 01:30:19PM -0500, Kaveh R. Ghazi wrote:
> 	Is it a bug or a feature?  Ie, is it good coding style to not
> use braces even if the if-then-else tree is full?

Coding style aside, the warning tells you that it is ambiguous when
it is not.  If the tree is full, there is exactly one way it can be
parsed.  Thus, a bug, IMO.


r~



More information about the Gcc mailing list