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

  1. Path: sparky!uunet!sun-barr!cs.utexas.edu!asuvax!asuacad!atpph
  2. Organization: Arizona State University
  3. Date: Wednesday, 12 Aug 1992 15:07:16 MST
  4. From: <ATPPH@ASUACAD.BITNET>
  5. Message-ID: <92225.150716ATPPH@ASUACAD.BITNET>
  6. Newsgroups: comp.unix.aix
  7. Subject:    xlf (2.2.1.3) preprocessor bugs
  8. Lines: 60
  9.  
  10.  
  11. I have some problems with the preprocessors of xlf. My machine is a
  12. RS/6000 530H running AIX 3.2 with xlf version 2.2.1.3. The machine has
  13. 64MB RAM and 356MB paging space.
  14.  
  15. The problems are:
  16.  
  17. Pk preprocessor (Version 02.02.0100.0000 2.12o5r3so3):
  18. options used: optimize=5,roundoff=3,scalaropt=3,library-calls=essl,agressive=a
  19.  
  20. One line in the offending subroutine is translated incorrectly.
  21. original statement:  s = 1.s0-dtexp(j-1,i)
  22. translated into:     s = dtexp(ii1-1,i) + 1.d0
  23. (sign of dtexp() is wrong, dtexp is an array)
  24. The problem does not occur for optimize=2 and lower. The differences between
  25. optimize=5 and 2 in the translated code are (a) the problematic line and
  26. (b) two lines where () are placed around an expression (correctly).
  27. I suspect a bug in the preprocessor here. I had this problem with an earlier
  28. version but it seemed to be fixed in an IBM test version. However, the bug
  29. is still in the xlf release that came with our AIX 3.2 upgrade.
  30.  
  31.  
  32. Pv preprocessor: (Version 02.02.0000.0000 3.05F16)
  33. options used: -Pv -Wp,-o,-ea478  (or -Pv -Wp,-ew,-ejr4789,-me,-o,-l,-pacrvz)
  34. 1. Problem: two subroutines give (many) error messages of the form
  35. -->
  36. 51.00   1524-282: (I) Unable to allocate multidimensional temporary arrays.
  37. 47.00   1524-041: (I) Internal error detected.  Call service representative.
  38.                      Internal segment WHRSET.
  39. --<
  40. the Translation continues and the translated code compiles.
  41. The code does not work but up to now I have not found the time to
  42. track down the loaction of the problem.
  43.  
  44. 2. Problem: FORMAT statement label doubling occurs in another subroutine. The
  45. prepocessor 'optimizes' (label V) an outer loop and the format statement with
  46. this loop is simply doubled (tripled) without adjusting the label. This is a
  47. redundant operation anyway.
  48. The preprocessor reports no trouble, however, the compiler itself
  49. generates an 'E' code error message (non-fatal).
  50. These problems just gives annoying error messages without fatal errors as the
  51. previous cases.
  52.  
  53. The first two problems cause the code to crash in obscure places, in particular
  54. the first one (Pk) is nasty because it is 'quiet'.
  55. The Pv-problems are indicated during compile time, so I was already suspecting
  56. problems with the code before starting the run.
  57. The subroutines are not long and I would be happy to send them to
  58. somebody from IBM to try them and to fix the bugs.
  59. My preferred E-Mail address is yeti@sara.la.asu.edu.
  60.  
  61. Best regards,
  62.                                                Peter
  63.         
  64.                         Peter H. Hauschildt
  65.                         Dept. of Physics and Astronomy
  66.                         ASU
  67.                         Tempe, AZ 85287-1504
  68.  
  69.  
  70.