Path: utzoo!utgpu!water!watmath!uunet!tut.cis.ohio-state.edu!rutgers!mit-eddie!killer!vaxnix!ron From: ron@vaxnix.tandy.COM (Ron Light) Newsgroups: gnu.gcc.bug Subject: Re: GCC 1.30 complaints Message-ID: <1531@vaxnix.tandy.COM> Date: 23 Oct 88 15:02:26 GMT References: <8810220131.AA00312@ucsci.ucsc.edu> Distribution: gnu Organization: VideOmega Inc. - Ft. Worth Texas Lines: 10 In article <8810220131.AA00312@ucsci.ucsc.edu>, dsgn047@UCSCI.UCSC.EDU (10017047) writes: > 2) Loop optimization. GCC 1.30 does *not* get rid of empty for loops; > does anybody know why? (I.e., 'for (a=0;a<100;a++);' is executed in its > entirety.) I would find it sheer lunacy to have that loop eliminated in favor of a=100. That type of loop is used QUIET often for DELAY loops. Try writing a driver sometime where you need a delay loop, and see what happens when "a=100" is all that's generated with no delay.