home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / hp / 8686 < prev    next >
Encoding:
Internet Message Format  |  1992-07-29  |  1.6 KB

  1. From: daryl@hpcuhe.cup.hp.com (Daryl Odnert)
  2. Date: Wed, 29 Jul 1992 15:57:10 GMT
  3. Subject: Re: What does this mean ?
  4. Message-ID: <31480211@hpcuhe.cup.hp.com>
  5. Organization: Hewlett Packard, Cupertino
  6. Path: sparky!uunet!darwin.sura.net!mips!sdd.hp.com!hpscdc!cupnews0.cup.hp.com!hppad.waterloo.hp.com!hppad!hpfcso!hpcuhb!hpcuhe!daryl
  7. Newsgroups: comp.sys.hp
  8. References: <3806@sicsun.epfl.ch>
  9. Lines: 33
  10.  
  11. lecom> cc -O -c error.c
  12. "error.c", line 111: compiler error: register allocation error
  13. *** Error code 1
  14. lecom> cc +O1 -c error.c
  15. lecom> 
  16.  
  17.   The name error.c is a pure coincidence.
  18.  
  19. -- 
  20.  
  21. On HP 9000 Series 700 and Series 800 systems, the default level for
  22. code optimization with the -O option is level 2.  The +O1 option
  23. selects level 1 optimization (which takes less compile time, but
  24. does not optimize the code as well as level 2.)  I believe the same
  25. thing is true on the Series 300 and 400 systems.
  26.  
  27. The register allocator used at level 2 is not the same as the one that
  28. is used at level 1.  The error message you received probably indicates
  29. that your source code is exposing some kind of defect in the compiler.
  30. I would suggest contacting your local HP support folks to report the
  31. problem.
  32.  
  33. Alternatively, you could e-mail to me the smallest piece of source
  34. code that reproduces the problem.  It will help if you expand the
  35. source file first by using the cc -P option to generate error.i.
  36. Also, please indicate what kind of system (300, 400, 700, or 800) that
  37. you are using and the version number of the compiler that you are
  38. using.
  39.  
  40. Regards,
  41. Daryl Odnert       daryl@cup.hp.com
  42. Hewlett-Packard
  43. Cupertino, California
  44.