This is the mail archive of the gcc-bugs@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]

current snapshot cannot to build bzip2 on IRIX 5.2


egcs 1.1, 1.1.2 and the current snapshot cannot compile compress.c and
decompress.c from bzip2 0.9.0c, not even without any optimization :-(
I had to use egcs 1.0.3 to compile them.  It is worth noting that the
problem occurs on IRIX 5.2, but not on IRIX 6.3.

egcs 1.1.2, for example, complains like this:

oliva@escher% gcc -O0 -c compress.c
compress.c: In function `sendMTFValues':
compress.c:516: internal error--unrecognizable insn:
(insn 95 93 97 (set (reg:SI 102)
        (plus:SI (reg:SI 95)
            (const_int 37676))) -1 (nil)
    (nil))
toplev.c:1385: Internal compiler error in function fatal_insn

The current snapshot prints a similar error message, and the error is
reproducible (i.e., although the host is the one in which I get some
random failures, this particular error is not random, and, since I got
it with three different releases/builds of egcs, random failures can
be ruled out :-) All tested compilers were build with BOOT_CFLAGS=-O4,
but this doesn't seem to change the outcome, since the stage1 compiler
of the latest snapshot, that is not affected by BOOT_CFLAGS, also
fails.

The preprocessed sources are attached.

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
{oliva,Alexandre.Oliva}@dcc.unicamp.br  aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
*** E-mail about software projects will be forwarded to mailing lists

compress.i.bz2


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