home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / gnu / gcc / bug / 2113 < prev    next >
Encoding:
Text File  |  1992-08-12  |  2.6 KB  |  63 lines

  1. Newsgroups: gnu.gcc.bug
  2. Path: sparky!uunet!cis.ohio-state.edu!feynman.t30.physik.tu-muenchen.de!lauten
  3. From: lauten@feynman.t30.physik.tu-muenchen.de (Markus Lautenbacher)
  4. Subject: gcc code dumpes core, other compilers do not
  5. Message-ID: <199208120757.AA18156@feynman.t30.physik.tu-muenchen.de>
  6. Sender: gnulists@ai.mit.edu
  7. Reply-To: lauten@feynman.t30.physik.tu-muenchen.de
  8. Organization: GNUs Not Usenet
  9. Distribution: gnu
  10. Date: Wed, 12 Aug 1992 11:57:32 GMT
  11. Approved: bug-gcc@prep.ai.mit.edu
  12. Lines: 49
  13.  
  14. Dear Sir,
  15.  
  16. whether this really is a bug report or not I am not a computer expert
  17. enough to decide. So let me just bring the following to your attention.
  18.  
  19. I am writing right now a C program to get some theoretical predictions
  20. for an experimentally measured quantity in particle physics.
  21. Numerically this basically means to solve for the eigensystem of real,
  22. non-symmetric matrices. Compiling my C-sources (basically K&R I style)
  23. with various compilers, in particular GNU gcc, I have run into the
  24. following problem:
  25.  
  26. --------------------------------------------------------
  27.   Compiler  |                    Flags 
  28.             |  default  |    -g    |    -O    |    -g-O
  29. --------------------------------------------------------
  30. Turbo-C 1.0 |     OK    |          |          |
  31.     cc      |           |    OK    |    OK    |
  32.   gcc-1.40  |           |    OK    |    OK    |
  33.   gcc-2.1   |           |    OK    |    CD    |    CD
  34.   gcc-2.2.2 |           |    CD    |    CD    |    CD
  35.  
  36. where OK means "compiles and links fine, runs and produces sensible
  37. data" and CD means "compiles and links fine, but dumps core".
  38. The workstation I am using is a Sun SPRCstation 1+ running SunOS 4.1.2.
  39. The PC with the Turbo-C is a standard AT 286/7 clone under DOS 3.3.
  40.  
  41. I have found out that the problem is in a routine I have copied from
  42. the program-listing disk of the wellknown "Numerical Recipes" book. So
  43. it seems unlikely that I have made a programming error that now causes
  44. the core dump. Strange enough the problem has come about with the
  45. major release change 1.* -> 2.* and there first only in optimized code,
  46. but now with the latest gcc in any kind of code.
  47.  
  48. Do you want me to send you my sources (in *.tar.Z form) to have a look
  49. at the problem ? If you're interested let me know (please not that you
  50. probably won't be able to reach me from 22/8/92 until 22/9/92 since I
  51. am abroad for a research visit during that period).
  52.  
  53.  
  54. Best regards,
  55.              MARKUS
  56.  
  57. -----
  58. MARKUS E. LAUTENBACHER,
  59. Technical University Munich,    | phone:    +49/89/3209-2398
  60. Physics Dept.-Theo. Physics T31,| Internet:
  61. D-8046 Garching, FRG.           | lauten@feynman.t30.physik.tu-muenchen.de
  62.  
  63.