home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / sgi / 16112 < prev    next >
Encoding:
Text File  |  1992-11-08  |  1.9 KB  |  51 lines

  1. Newsgroups: comp.sys.sgi
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!kronos.arc.nasa.gov!iscnvx!netcomsv!netcom.com!jchauvin
  3. From: jchauvin@netcom.com (John H. Chauvin)
  4. Subject: Bug Report: FORTRAN 3.10 compiler
  5. Message-ID: <1992Nov7.030148.11596@netcom.com>
  6. Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
  7. Date: Sat, 7 Nov 1992 03:01:48 GMT
  8. Lines: 41
  9.  
  10.  
  11. I have discovered two additional bugs in the 3.10 release of the 
  12. FORTRAN compiler. Both bugs have been reported to Technical 
  13. Support.
  14.  
  15. (1) The -g and -listing compiler options when used together will 
  16.       sometimes result in a core dump from  /usr/lib/fcom. I have not 
  17.       found any indicator to predict when this will happen. The work 
  18.       around is not to use the two options together.
  19.  
  20. (2) The -listing compiler option incorrectly lists undeclared real 
  21.       variables as real*8 NOT real*4. For example, examine the 
  22.       following code:
  23.  
  24.              A = 1.0
  25.              B = 2.0
  26.              C = A + B
  27.              STOP
  28.              END
  29.  
  30. What is the data type for variable A? Assuming the code was 
  31. compiled using the default compiler options, variables A, B, and C 
  32. should be real*4 (This fact is not listed in the manuals or man 
  33. pages. It should be!). This can be check by using dbx. Yet if you 
  34. compile this code with the -listing option, the variables are listed as 
  35. real*8.
  36.  
  37. I have not fully explored this bug, but it does bring in to question the 
  38. accuracy of the other information provided by the -listing option.
  39.  
  40. I encourage other users to use this forum to list any bugs they may 
  41. discover. Many hours of work could be saved if users are aware of 
  42. outstanding bugs not included in the release notes. Any comments 
  43. are welcome
  44.  
  45. jchauvin@netcom.com
  46. Northrop ATDC
  47. Pico Rivera, California
  48. -- 
  49. John H. Chauvin jchauvin@netcom.COM
  50. Netcom - Online Communication Services San Jose, CA
  51.