[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#187910: [gcc-3.2 i386] ICE while compiling mozilla with -march=pentium4



Package: gcc-3.2
Version: 3.2.3-0pre7


Mozilla compilation fails when compiling with '-march=pentium4 -O2
-pipe'. The work around is to compile with -march=pentium3

This bug apears to be the same as GCC bug 7630
  http://gcc.gnu.org/cgi-bin/gnatsweb.pl?database=gcc&cmd=view&pr=7630
Which is said to be fixed.

If more information is required please email.


The error message is:

gcc -o jsemit.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -DOJI
-DEXPORT_JS_API -DJS_USE_SAFE_ARENA -I../../dist/include/js
-I../../dist/include
-I/export/home/sgregory/src/mozilla/dist/include/nspr
-I. -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -Wall -W
-Wno-unused -Wpointer-arith -Wcast-align -pedantic -Wno-long-long
-pthread -pipe -DNDEBUG -DTRIMMED -O2 -march=pentium4 -pipe
-I/usr/X11R6/include -include ../../mozilla-config.h -DMOZILLA_CLIENT
-Wp,-MD,.deps/jsemit.pp jsemit.c
jsdtoa.c:1018: warning: `d' might be used uninitialized in this function
jsdtoa.c: In function `JS_strtod':
jsdtoa.c:1239: warning: `rv0' might be used uninitialized in this function
jsdtoa.c:1874: unable to find a register to spill in class `AREG'
jsdtoa.c:1874: this is the insn:
(insn:QI 1855 1854 1856 (set (reg:CCNO 17 flags)
        (compare:CCNO (and:SI (subreg:SI (reg/v:DI 21 rxmm0 [283]) 0)
                (const_int 1 [0x1]))
            (const_int 0 [0x0]))) 281 {testsi_1} (insn_list 1851 (nil))
    (expr_list:REG_DEAD (reg/v:DI 21 rxmm0 [283])
        (nil)))
jsdtoa.c:1874: confused by earlier errors, bailing out



-- 
Stephen Gregory




Reply to: