Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!fauern!opal!fub!geminix.in-berlin.de!robot!karl From: karl@robot.in-berlin.de (Karl-P. Huestegge) Newsgroups: comp.lang.c Subject: Re: '386 XENIX "cc -Ox" optimization bug Keywords: -Ox Message-ID: <1990Dec13.175120.12187@robot.in-berlin.de> Date: 13 Dec 90 17:51:20 GMT References: <40991@ut-emx.uucp> Organization: K.-P. Huestegge, Sytemanalyse und Beratung, Berlin Lines: 24 jon@ccwf.cc.utexas.edu (Jon Boede) writes: >Hopefully I'm posting old news... but I found a rather insidious bug in cc >version 1.6. It seems you're a little bit outdated with your release. ;-) Xenix 386 2.3.2 comes with: Microsoft 386 Compiler ver. 4.85 ( was updated with lng095 to ver 5.1) Microsoft 286 Compiler Ver. 5.1 Unix 5.3 C Preprocessor Unix 5.3 curses >Try: cc x.c; a.out; cc -Ox x.c; a.out; cc -Oal x.c; a.out Always 'works ok' with MSC 386 5.1 on my system. BTW: -Ox is default. And is the same as -Oactl. All three cc-commands produce the same code. -- Karl-Peter Huestegge karl@robot.in-berlin.de Berlin Friedenau ..unido!fub!geminix!robot!karl