23 July 2002

This is an approved src.alt for 176.gcc in CPU2000 v1.2.  It will allow
176.gcc to be built using GCC on 64-bit systems.

To apply the src.alt, unpack the tar file in the top level of the CPU2000
directory.  The following sequence of commands should accomplish this:

$ /bin/sh
$ cd <cpu2000 dir>
$ . ./shrc
$ go top
$ specgzip -dc <src.alt tarball> | spectar -xvf -

Please replace the items in angle brackets ( <> ) as appropriate.

To have the src.alt applied during compilation, please add the following
stanza to your config file:

# Enable 64-bit GCC src.alt
176.gcc=default=default=default:
srcalt=64bitgcc


This src.alt makes one performance neutral portability-related change to
176.gcc.

Specifically, the value for the OBSTACK_INTERFACE_VERSION is changed from 1
to -1.  During initial porting, the value 1 was chosen to avoid conflict
with obstack implementations in GCC at the time.  Of course, with the
development of 64-bit GCC, the developers changed the value to 1 to avoid
conflict with 32-bit systems.  This src.alt changes the value to -1, which
should not conflict with any future revisions of GCC.

Please address any questions about this src.alt to cpu2000support@spec.org.
--
Michael Paton                           176.gcc project lead
