Subject: Re: EGCS 1.1 UPDATE rev. 4
To: Todd Vierling <tv@pobox.com>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-toolchain
Date: 08/18/1998 10:50:11
On Tue, 18 Aug 1998 13:52:13 -0400 (EDT)
Todd Vierling <tv@pobox.com> wrote:
> These problems are known, and "working" below does not infer that they are
> fixed.
>
> - egcs will sometimes issue "uninitialized" warnings when it shouldn't.
> Gross. Looking into it; you can put "CFLAGS+=-Wno-uninitialized" in
> /etc/mk.conf to work around it for now until egcs is fixed. This
> seems to be a problem with attribute(__noreturn__). (thorpej@netbsd.org)
...or is simply a general problem in the flow analysis code. Further
investigation is warranted (i.e. does it happen w/ -O0?)
> - egcs issues warnings about "ambiguous braces" that is supposedly against
> KNF (I haven't checked thoroughly). Use "CFLAGS+=-Wno-parentheses" in
> /etc/mk.conf to override this behavior. This may be removed from the
> set of warnings issued by "-Wall".
Personally, I feel that adding the extra braces is JUST FINE (note the
changes I made don't add _all_ of them, just enough to disambiguate - is
that a word? :-)
Jason R. Thorpe thorpej@nas.nasa.gov
NASA Ames Research Center Home: +1 408 866 1912
NAS: M/S 258-5 Work: +1 650 604 0935
Moffett Field, CA 94035 Pager: +1 650 940 5942