This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: bootstrapping with `cc -n32' on IRIX 6.3 fails compare


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]