Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!asuvax!enuxha!martin From: martin@enuxha.eas.asu.edu (Ross D. Martin) Newsgroups: comp.sys.amiga.tech Subject: Re: Lattice 5.04 problem with free() Summary: Lattice 5.04 troubles Message-ID: <346@enuxha.eas.asu.edu> Date: 1 Nov 89 02:06:56 GMT References: <36769@srcsip.UUCP> <37167@lll-winken.LLNL.GOV> <36899@srcsip.UUCP> Organization: Arizona State Univ, Tempe Lines: 35 In article <36899@srcsip.UUCP>, carpent@SRC.Honeywell.COM (Todd Carpenter) writes: > > In other news, I can now use the optimizer (on certain modules), and can use > the 68881 library. This gives me up to a 20% performance increase over IEEE > libraries and nonoptimized compilation. I was thrilled, as I need every bit I > can get. I am also _very_ happy the Lattice is providing these upgrades free to > registered owners. I wonder if they will institute a maintenance program to > recoup some of their mailing costs? > I am also very happy with the upgrade. If they did want to recoup their mailing losses, the upgrade would be worth a nominal fee. > > As long as we are on the subject of Lattice, why doesn't this macro seem to > work? (I'm rather new to macrodom, so this is probably a silly one) I > have some terribly long nasty expressions that need to be squared, and > SQR(moocow) never returns what I expect: > > #define SQR(x) (x*x) I have not yet narrowed it down for sure, but I also had some code that worked under 5.02 (using standard math libraries) but now doesn't under 5.04 (using 68881 inline code). This code figures macros prominently, so this may be a new bug. Possibly... I have also not been able to get 5.04 to work with the -pr option (automatic generation of prototypes.) This also worked in 5.02 just fine. Can anyone confirm whether this is a bug? Even with a few bugs that were not there in 5.02, 5.04 is a major fix. It's great! Ross Martin agrgm@acvax.inre.asu.edu