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