[m-rev.] for review: update GCC back-end web page

Fergus Henderson fjh at cs.mu.OZ.AU
Wed Aug 1 06:03:17 AEST 2001


On 01-Aug-2001, Simon Taylor <stayl at cs.mu.OZ.AU> wrote:
> 
> On 01-Aug-2001, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> > The GCC back-end is now integrated with GCC 3.0 and now passes all of the
> > appropriate tests in the Mercury test suite.  So it's basically ready for an
> > official release.  Here's an update for the web page.
> 
> How often does the GCC 3.0 optimizer bug you reported occur
> with the LLDS backend?

Every time.  It breaks "hello world". 

There are several work-arounds that I know of:

	- compile with `--high-level-code', i.e. use the MLDS backend
	  rather than the LLDS back-end

	- compile with `--no-c-optimize', i.e. pass `-O0' rather than `-O2'
	  to gcc.

	- using grade `none.gc' or `reg.gc' rather than `asm_fast.gc' should
	  also work.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list