Path: utzoo!attcan!uunet!mcvax!cernvax!hjm From: hjm@cernvax.UUCP (Hubert Matthews) Newsgroups: comp.lang.c Subject: Re: Short code to determine compiler's Message-ID: <1038@cernvax.UUCP> Date: 22 Jul 89 10:21:38 GMT References: <396@uop.uop.EDU> <225800197@uxe.cso.uiuc.edu> <579@targon.UUCP> <171@bms-at.UUCP> <14497@dartvax.Dartmouth.EDU> Reply-To: hjm@cernvax.UUCP (Hubert Matthews) Organization: CERN European Laboratory for Particle Physics, CH-1211 Geneva, Switzerland Lines: 15 I have a question for the authors of smart C compilers: is the register declaration useful at all for such compilers? It indicates that a variable is non-volatile, noalias and that taking its address is illegal, all of which should make things easier for the optimiser. So, does "register" help or hinder? Has it become a source-code "no-op"? Can I merrily leave it out of my programs and let the compiler do the guessing for me :-). (Please, no wars, just *informed* replies, preferably from the authors of said compilers...)-- Hubert Matthews ...helping make the world a quote-free zone... hjm@cernvax.cern.ch hjm@vxomeg.decnet.cern.ch ...!mcvax!cernvax!hjm