From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,45b50f14dadfce5b X-Google-Attributes: gid1164f8,public X-Google-Thread: 102b75,45b50f14dadfce5b X-Google-Attributes: gid102b75,public X-Google-Thread: 110292,45b50f14dadfce5b X-Google-Attributes: gid110292,public From: Achim Gratz Subject: Re: Final kick at the "Merced Guessing Game" Date: 1997/10/15 Message-ID: #1/1 X-Deja-AN: 280800282 Sender: gratz@ite127.inf.tu-dresden.de References: <61g30t$o2n@news-rocq.inria.fr> <343C34A7.B715A348@tonys.ecology.umn.edu> <3440F805.C98BB347@tonys.ecology.umn.edu> <61tfaa$9fr@sis.cambridge.arm.com> <61uoiu$19e$1@goanna.cs.rmit.edu.au> <3443FAEF.EE62B663@powertelglobal.com> Organization: Institute of Computer Engineering, CS department, TU Dresden, Germany Newsgroups: comp.sys.intel,comp.arch,comp.sys.dec Shankar Unni writes: > the compiler is allowed to boil down the entire loop into nothing. And > in fact, it does, using Sun cc. (gcc 2.7.2 is a little stupid: it > removes the call, but leaves an empty loop behind!) That's documented behaviour for gcc, read the Non-Bugs section in the manual. Achim Gratz. --+<[ It's the small pleasures that make life so miserable. ]>+-- WWW: http://www.inf.tu-dresden.de/~ag7/{english/} E-Mail: gratz@ite.inf.tu-dresden.de Phone: +49 351 463 - 8325