This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: bootstrapping with `cc -n32' on IRIX 6.3 fails compare
- To: oliva at dcc dot unicamp dot br
- Subject: Re: bootstrapping with `cc -n32' on IRIX 6.3 fails compare
- From: Jim Wilson <wilson at cygnus dot com>
- Date: Wed, 24 Mar 1999 12:41:56 -0800
- Cc: egcs at egcs dot cygnus dot com
- Newsgroups: cygnus.egcs
- Organization: Cygnus Solutions, CA
- References: <199903231735.MAA09771@caip.rutgers.edu>
In article <oriubr70o5.fsf.cygnus.egcs@dcc.unicamp.br> you write:
>oliva@duerer% versions | grep c_dev
>I c_dev 11/12/97 C, 7.0
All versions of SGI C before v7.1beta have bugs that cause gcc to be
miscompiled when using the -n32 option.
With SGI C v7.0, there was only one bug that I found. It miscompiles a little
bit of code in one of the optimization passes, with the result that the
optimization does not happen. You still get correct code though. Hence
you can successfully bootstrap if you go a fourth stage.
stage1: compiled with one optimization disabled
stage2: compiled OK, but only partially optimized
stage3: compiled OK, and completely optimized
stage4: compiled OK, and completely optimized
I don't recall what the v7.0 bug was. I reported it to SGI about 3 years ago,
and it was fixed by v7.1beta about 3 years ago.
As far as I know, all versions from v7.1beta and later are OK.
Jim