From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernd Schmidt To: "Kaveh R. Ghazi" Cc: rth@cygnus.com, egcs@cygnus.com Subject: Re: egcs-980129, fixed ambiguous `else' warnings in the gcc/f/ dir. Date: Fri, 13 Feb 1998 10:31:00 -0000 Message-id: References: <199802121859.NAA22657@caip.rutgers.edu> X-SW-Source: 1998-02/msg00617.html > > 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