home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / compiler / 1542 < prev    next >
Encoding:
Internet Message Format  |  1992-09-12  |  2.0 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!zaphod.mps.ohio-state.edu!uwm.edu!ogicse!das-news.harvard.edu!spdcc!iecc!compilers-sender
  2. From: icmv!mtranle%paris@uunet.UU.NET (Minh Tran-Le)
  3. Newsgroups: comp.compilers
  4. Subject: Re: xlc for RS6000 -0 flag
  5. Keywords: C, IBM
  6. Message-ID: <92-09-061@comp.compilers>
  7. Date: 11 Sep 92 05:28:35 GMT
  8. References: <92-09-058@comp.compilers>
  9. Sender: compilers-sender@iecc.cambridge.ma.us
  10. Reply-To: icmv!mtranle%paris@uunet.UU.NET (Minh Tran-Le)
  11. Organization: IntelliCorp Inc.
  12. Lines: 33
  13. Approved: compilers@iecc.cambridge.ma.us
  14.  
  15. jpennell@axion.bt.co.uk (John Pennell) writes:
  16.  
  17. >Can anyone help?
  18.  
  19. >Are there any known bugs with the optimisation feature on xlc (AIX 3.2).
  20. >When compiling on one particular file, the compiler appears to "hang" for
  21. >10 minutes.  When I inspect memory usage, it shows that AVM is being used
  22. >at a very high rate, during the last few minutes, the process is only
  23. >slowed by the pagin in and out of memory!
  24.  
  25. >The compilation eventually fails with the message "compilation failed -
  26. >out of space" (or something like that). ...
  27.  
  28. There is a bug with the ibm rs6000 xlc compiler goes to infinite loop
  29. trying to optimize code with unused variable.  This occurs when you when
  30. you use the compiler as xlc or c89 because the default setting enable the
  31. `-qansialias' flag in /etc/xlc.cfg.
  32.  
  33. You can work around it by removing the `-qansialias' from the default
  34. flags in the config file /et/xlc.cfg. This is will make it hang less.  Or
  35. remove any unused variable from your functions.
  36.  
  37. I have already reported that problem to ibm support.  Also if you haven't
  38. got the latest version of the xlc compiler (1.2.0.12 at least) you should
  39. call up ibm support and ask for it because it fixes a bunch of bugs.
  40. (Except the one we are talking about).  The newer version of the xlc
  41. compiler still hangs while trying to do certain optimization but it does
  42. not run out of paging space anymore.
  43.  
  44. Minh Tran-Le.
  45. -- 
  46. Send compilers articles to compilers@iecc.cambridge.ma.us or
  47. {ima | spdcc | world}!iecc!compilers.  Meta-mail to compilers-request.
  48.