home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!mel.dit.csiro.au!yarra!bohra.cpg.oz.au!als
- From: als@bohra.cpg.oz.au (Anthony Shipman)
- Newsgroups: comp.sys.hp
- Subject: that HPUX cc compiler
- Message-ID: <1992Aug31.104950.1108@bohra.cpg.oz.au>
- Date: 31 Aug 92 10:49:50 GMT
- Organization: Computer Power Software
- Lines: 41
-
- Here are some programs for which the HP cc generates incorrect code.
-
- xfig.2.1.4, contact bvsmith@lbl.gov
-
- When compiled with -O incorrect code is generated for the
- int_spline_bound() function. This results in floating point exceptions
- while working with splines. The program works without -O.
-
-
-
- Metafont
- This is supplied with Unix TeX3.14. When compiled with -O the bit
- maps it generates for a font's characters are seriously corrupted.
-
-
-
-
- sml2c from /usr/nemo/sml2c on dravido.soar.cs.cmu.edu.
-
- This is an SML to C compiler.
-
- I tried to make a sharable library out of the runtime library. When
- I compiled it with +z and linked with -b the compiler crashed.
- When I linked the compiler statically with the runtime library still
- compiled with +z it also crashed. The fault seemed to be in the
- large .c file containing the compiled SML-source runtime code
- (perv.sml.c). It runs fine normally, i.e. compiled without -O.
-
-
-
- Debugging the last two would be rather difficult since the C code that fails
- is generated by some translater from quite different source.
-
- As a normal precaution I never use -O with anything 'complicated'.
-
-
- --
- Anthony Shipman "You've got to be taught before it's too late,
- CP Software Export Pty Ltd, Before you are six or seven or eight,
- 19 Cato St., East Hawthorn, To hate all the people your relatives hate,
- Melbourne, Australia, 3121 You've got to be carefully taught." R&H
-