From: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) Newsgroups: comp.os.msdos.djgpp Subject: Re: how to make switch(){ } compile as lookup table always? Date: 22 Dec 1997 12:36:55 GMT Organization: The National Capital FreeNet Lines: 13 Message-ID: <67lmt7$d2j@freenet-news.carleton.ca> References: <4B0C721CA8 AT fs2 DOT mt DOT umist DOT ac DOT uk> Reply-To: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) NNTP-Posting-Host: freenet6.carleton.ca To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I don't know of any such specific switch. Did you check all of info gcc invoking's optimizing switches? Try -O3 and inspect the resulting assembly, see if that general all-around optimize commandoes what you want. -- .*. Friendship, companionship, love, and having fun are the reasons for -() < life. All else; sex, money, fame, etc.; are just to get/express these. `*' Send any and all mail with attachments to the hotmail address please. Paul Derbyshire ao950 AT freenet DOT carleton DOT ca pgd73 AT hotmail DOT com