home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / aix / 8754 < prev    next >
Encoding:
Internet Message Format  |  1992-08-12  |  2.6 KB

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