Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!uunet!mcsun!hp4nl!phigate!prle!prles2!finch!hooft From: hooft@finch.prl.philips.nl (Peter van Hooft 44327) Newsgroups: comp.unix.ultrix Subject: Re: C optimizer problem -- does DEC have a response? Message-ID: <2084@prles2.prl.philips.nl> Date: 27 Aug 90 06:17:13 GMT References: <1990Aug25.231005.29864@ircam.ircam.fr> <1990Aug26.214532.17118@watcgl.waterloo.edu> Sender: news@prles2.prl.philips.nl Lines: 20 In <1990Aug26.214532.17118@watcgl.waterloo.edu> idallen@watcgl.waterloo.edu (Ian! D. Allen [CGL]) writes: >>Perl compiled here under Ultrix 4.0, fully optimized, after I dealt >>with a few small problems (like not having enough memory....) >Perl compiled here on a DECsystem 5400 under Ultrix 3.1C using -O >-DLANGUAGE_C fails self-tests op.eval #7 and op.s #40. It works fine >if I remove the -O. >-- >-IAN! (Ian! D. Allen) idallen@watcgl.uwaterloo.ca idallen@watcgl.waterloo.edu > [129.97.128.64] Computer Graphics Lab/University of Waterloo/Ontario/Canada You should ``undef'' volatile in config.sh. The optimizer obviously does funny things with volatile variables. There's the connection :-) Peter van Hooft (hooft@apolloway.prl.philips.nl)