home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!unixhub!unixhub.slac.stanford.edu!alhy
- From: alhy@unixhub.slac.stanford.edu (J. Scott Berg)
- Newsgroups: comp.unix.aix
- Subject: Re: xlf (2.2.1.3) preprocessor bugs
- Message-ID: <5074@unixhub.SLAC.Stanford.EDU>
- Date: 13 Aug 92 00:56:10 GMT
- References: <92225.150716ATPPH@ASUACAD.BITNET>
- Sender: news@unixhub.SLAC.Stanford.EDU
- Reply-To: alhy@unixhub.slac.stanford.edu
- Organization: Stanford University, dept of Physics / SLAC
- Lines: 51
- Nntp-Posting-Host: courant.slac.stanford.edu
-
- In article <92225.150716ATPPH@ASUACAD.BITNET>, ATPPH@ASUACAD.BITNET writes:
- |>
- |> I have some problems with the preprocessors of xlf. My machine is a
- |> RS/6000 530H running AIX 3.2 with xlf version 2.2.1.3. The machine has
- |> 64MB RAM and 356MB paging space.
- |>
- |> The problems are:
- |>
- |> Pk preprocessor (Version 02.02.0100.0000 2.12o5r3so3):
- |> options used: optimize=5,roundoff=3,scalaropt=3,library-calls=essl,agressive=a
- |>
- |> One line in the offending subroutine is translated incorrectly.
- |> original statement: s = 1.s0-dtexp(j-1,i)
- |> translated into: s = dtexp(ii1-1,i) + 1.d0
- |> (sign of dtexp() is wrong, dtexp is an array)
- |> The problem does not occur for optimize=2 and lower. The differences between
- |> optimize=5 and 2 in the translated code are (a) the problematic line and
- |> (b) two lines where () are placed around an expression (correctly).
- |> I suspect a bug in the preprocessor here. I had this problem with an earlier
- |> version but it seemed to be fixed in an IBM test version. However, the bug
- |> is still in the xlf release that came with our AIX 3.2 upgrade.
- |>
- |>
- |> Pv preprocessor: (Version 02.02.0000.0000 3.05F16)
- |> options used: -Pv -Wp,-o,-ea478 (or -Pv -Wp,-ew,-ejr4789,-me,-o,-l,-pacrvz)
- |> 1. Problem: two subroutines give (many) error messages of the form
- |> -->
- |> 51.00 1524-282: (I) Unable to allocate multidimensional temporary arrays.
- |> 47.00 1524-041: (I) Internal error detected. Call service representative.
- |> Internal segment WHRSET.
- |> --<
-
- I have similar problems. I'm running 2.2.0.0, os 3.1.7
-
- Code compiled with -Pk will apparently loop infinitely! (Doesn't if I
- don't use -Pk). I'm unhappy!
-
- -Scott Berg
-
- --
- -------------------------------------------------------------------------------
- The opinions expressed here are, of course, my own and nobody else's.
- -------------------------------------------------------------------------------
- J. Scott Berg
- email: alhy@unixhub.slac.stanford.edu
- real mail: Varian Physics
- Stanford CA 94305-4060
- phone: (415) 926-4732 (w)
- (415) 328-8246 (h)
- -------------------------------------------------------------------------------
-
-