I'm getting the following building the current mozilla CVS tree with gcc 4.0.0:

gmake[3]: Entering directory `/var/tmp/mozilla_cvs/mozilla/modules/libreg/src'
reg.c
gcc -o reg.o -c  -DOSTYPE=\"SunOS5\" -DOSARCH=\"SunOS\" -DBUILD_ID=0000000000
-DUSE_BUFFERED_REGISTRY_IO           -I../../../dist/include/libreg
-I../../../dist/include -I../../../dist/include/nspr   
-I../../../dist/sdk/include -I/usr/openwin/include   -fPIC
-I/usr/openwin/include -Wno-long-long -pedantic -pthreads -pipe  -DNDEBUG
-DTRIMMED -O3  -I/usr/openwin/include -include ../../../mozilla-config.h
-DMOZILLA_CLIENT -Wp,-MD,.deps/reg.pp reg.c
reg.c: In function 'nr_RegAddKey':
reg.c:2013: warning: passing argument 4 of 'nr_NextName' from incompatible
pointer type
reg.c:1972: internal compiler error: in get_indirect_ref_operands, at
tree-ssa-operands.c:1449
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
gmake[3]: *** [reg.o] Error 1
gmake[3]: Leaving directory `/var/tmp/mozilla_cvs/mozilla/modules/libreg/src'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/var/tmp/mozilla_cvs/mozilla/modules/libreg'
gmake[1]: *** [tier_2] Error 2
gmake[1]: Leaving directory `/var/tmp/mozilla_cvs/mozilla'
gmake: *** [default] Error 2
dev-zero:{root}# gcc -v
Using built-in specs.
Target: i386-pc-solaris2.10
Configured with: /var/tmp/gcc-4.0.0/configure --prefix=/opt/gcc-4.0
--with-gnu-as --with-as=/usr/sfw/bin/gas --disable-nls --with-system-zlib
--enable-languages=c,c++
Thread model: posix
gcc version 4.0.0

This could be related to Bug 21173.  Let me know what else you need to look into
this ICE.

thanks,

Brett Albertson

-- 
           Summary: ICE building current mozilla CVS with gcc 4.0.0
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: brett dot albertson at stratech dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i386-pc-solaris2.10
  GCC host triplet: i386-pc-solaris2.10
GCC target triplet: i386-pc-solaris2.10


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21214

Reply via email to