egcs-980129, fixed ambiguous `else' warnings in the gcc/f/ dir.
Bernd Schmidt
crux@pool.informatik.rwth-aachen.de
Fri Feb 13 10:31: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~
>
> Okay, then we should leave in all of them until its fixed. That
> way when the fix is in, we see that the ones that should be noisy are
> still there and the ones that should be quiet are gone.
>
> Is anyone (the original author) working on this?
I'll submit a fix for this on Monday.
Bernd
More information about the Gcc
mailing list