From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8ddc02527645a844 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-03-31 01:00:25 PST Date: Mon, 31 Mar 2003 11:00:07 +0200 From: =?ISO-8859-1?Q?Rodrigo_Garc=EDa?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020513 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: tasking with GNAT 3.14p on windows References: <6jIha.35142$ja4.2255611@bgtnsc05-news.ops.worldnet.att.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: lglpc31.epfl.ch Message-ID: <3e8803a5$1@epflnews.epfl.ch> X-Trace: epflnews.epfl.ch 1049101221 128.178.76.8 (31 Mar 2003 11:00:21 +0200) Organization: EPFL Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!news.imp.ch!news.imp.ch!news-zh.switch.ch!epflnews.epfl.ch!not-for-mail Xref: archiver1.google.com comp.lang.ada:35821 Date: 2003-03-31T11:00:07+02:00 List-Id: Sergey Koshcheyev wrote: > James S. Rogers wrote: > >>>> The null command will reliably take less than 3.0 seconds to complete. >>> >>> >>> It's inside of a neverending loop. >> >> >> >> And optimization will remove the loop, leaving a single null statement. > > > Such an optimization will also be implemented in hardware in the > upcoming Pentium V processors, which are rumored to be able to execute > an infinite loop in just about two minutes :-) > > Sergey. > >> >> Jim Rogers Compiling with "gnatmake -O3" the loop is (fortunately) still there (again, Red Hat 7.3, GNAT 3.15p). No optimization should change the semantics of a loop. Rodrigo