Article View: alt.games.warcraft
Article #353734Re: Why prolong the agony? Just get Windows 95...you'll be glad (you don't have a choice)
From: dne... Dave Nebinger
Date: Wed, 08 May 1996 00:00
Date: Wed, 08 May 1996 00:00
34 lines
2899 bytes
2899 bytes
In article <318cd769...@news2.cts.com>, mwi...@cts.com wrote:
> On Fri, 03 May 1996 17:14:25 GMT, alan.helmo...@citicorp.com (Alan F
> Helmore-Simpson) wrote:
>
> <example of an infinite loop in C deleted>
>
> >I would have thought that a good compiler would optimize this out ?
>
> Now, I would expect that a compiler might produce a warning, since the loop is
> empty, but not to delete it.
The loop is empty, but so is Marc Wilson's head.
Optimizations done on loop structures attempt to reduce the
number of times the loop is called based on the code in the
loop's block.
If there is no code to break out of the loop early, then the
compiler won't be able to optimize much out of the loop's
code.
Infinite loops are valid structures, and should not generate
any compiler warnings (noting such a loop should be a feature
of lint, however).
Dave.
==========================================================
Dave Nebinger dne...@epix.net
The Alt.Sources.Mac Archivist
<http://www.AmbrosiaSW.com/alt.sources.mac/>
<ftp://ftp.AmbrosiaSW.com/pub/alt.sources.mac/>
Technical Details
Message-ID:
<dnebing-0805960909500001@lwby-69ppp125.epix.net>Path:
mbox-mo1.pugleaf.net!unknown!not-for-mailReferences:
<dei-3103960330300001@dal03-30.ppp.iadfw.net> <315F1764.41BD@znet.com> <4jnhr7$ss0@steel.interlog.com> <eilersm-3103962201450001@192.0.2.1> <CONOVER.96Mar31233149@netcom7.netcom.com> <dei-0104962155200001@dal30-21.ppp.iadfw.net> <31658948.619B@serss1.fiu.edu> <jmonahan-0604962352300001@phx-ip-141.netzone.com> <4kf35v$uco@pulp.ucs.ualberta.ca> <4kgp4c$7lc@dfw-ixnews2.ix.netcom.com> <316F0B22.EC1@pacificrim.net> <31702B8B.529C@erols.com> <317033C4.3F54BC7E@fmi.uni-passau.de> <4l123t$eud@donald.interpac.be> <Pine.SV4.3.91.960416181414.3384B-100000@earth> <31750C36.15FB7483@fmi.uni-passau.de> <4l45mn$kpq@srvr1.engin.umich.edu> <4mcipd$e6p@spruce.citicorp.com> <318cd769.66287289@news2.cts.com>Show Full Headers
Complete Article Headers
From: dne...@epix.net (Dave Nebinger) Subject: Re: Why prolong the agony? Just get Windows 95...you'll be glad (you don't have a choice) Date: 1996/05/08 Message-ID: <dnebing-0805960909500001@lwby-69ppp125.epix.net> X-Deja-AN: 153724181 references: <dei-3103960330300001@dal03-30.ppp.iadfw.net> <315F1764.41BD@znet.com> <4jnhr7$ss0@steel.interlog.com> <eilersm-3103962201450001@192.0.2.1> <CONOVER.96Mar31233149@netcom7.netcom.com> <dei-0104962155200001@dal30-21.ppp.iadfw.net> <31658948.619B@serss1.fiu.edu> <jmonahan-0604962352300001@phx-ip-141.netzone.com> <4kf35v$uco@pulp.ucs.ualberta.ca> <4kgp4c$7lc@dfw-ixnews2.ix.netcom.com> <316F0B22.EC1@pacificrim.net> <31702B8B.529C@erols.com> <317033C4.3F54BC7E@fmi.uni-passau.de> <4l123t$eud@donald.interpac.be> <Pine.SV4.3.91.960416181414.3384B-100000@earth> <31750C36.15FB7483@fmi.uni-passau.de> <4l45mn$kpq@srvr1.engin.umich.edu> <4mcipd$e6p@spruce.citicorp.com> <318cd769.66287289@news2.cts.com> organization: KHP Services, Inc newsgroups: comp.sys.ibm.pc.hardware.chips,comp.os.ms-windows.win95.misc,comp.os.ms-windows.win95.setup,comp.multimedia,comp.graphics.animation,alt.games.doom,alt.games.descent,alt.games.warcraft,comp.graphics,comp.graphics.animation,alt.fan.bill-gates,comp.os.os2.misc,comp.os.os2.advocacy,comp.os.ms-windows.nt.advocacy,comp.object,comp.os.linux.misc,comp.os.linux.networking,comp.security.misc,comp.security.unix,comp.os.ms-windows.advocacy,news.admin.policy,fr.comp.windows.drivers,alt.windows95,soc.culture.russian,comp.os.msdos.apps,comp.os.msdos.misc,comp.os.msdos.programmer,comp.sys.intel,comp.sys.ibm.pc.hardware.misc,comp.sys.ibm.pc.hardware.storage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit