Subject: Re: tools build on ELF mac68k
To: Matthew Fredette <fredette@MIT.EDU>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-toolchain
Date: 12/06/2001 10:31:32
On Thu, Dec 06, 2001 at 01:13:35PM -0500, Matthew Fredette wrote:

 > Sweet.  Looks exactly on point.  This change jives with my super-crude
 > understanding of how things work, and with it, the original ch.c
 > compiles.  I compared the patched-cc1-original-ch.c assembly output to
 > the unpatched-cc1-stopgap-ch.c assembly output and the differences
 > make sense to me (strength reduction on `desc' within the for loop is
 > now visible.)

Great!

 > Now what?  Should the patch just be committed to our gcc sources?

Yes, commit it to our GCC 2.95.3 sources.  The change may also apply
to our older EGCS sources (I seem to recall Chuck Cranor noting that
the old compiler also lost w/ -O2 on the VAX).

Does this make new-toolchain work properly w/ ELF-m68k now?

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>