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]
Other format: [Raw text]

Re: [tree-ssa] Mainline merge as of 2002-12-26


Diego Novillo <dnovillo@redhat.com> writes:

> Bootstrapped and tested x86 and ppc.

Unfortunatly it fails for me right now on i686-linux-gnu with:

/builds/gcc/gcc/gcc/xgcc -B/builds/gcc/gcc/gcc/ -B/opt/gcc/tree-ssa-20020619-branch/i686-pc-linux-gnu/bin/ -B/opt/gcc/tree-ssa-20020619-branch/i686-pc-linux-gnu/lib/ -isystem /opt/gcc/tree-ssa-20020619-branch/i686-pc-linux-gnu/include -O2 -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -I. -I. -I/cvs/gcc-tree-ssa-20020619-branch/gcc -I/cvs/gcc-tree-ssa-20020619-branch/gcc/. -I/cvs/gcc-tree-ssa-20020619-branch/gcc/config -I/cvs/gcc-tree-ssa-20020619-branch/gcc/../include -I/cvs/gcc-tree-ssa-20020619-branch/gcc/../libbanshee/libcompat -I/cvs/gcc-tree-ssa-20020619-branch/gcc/../libbanshee -I/cvs/gcc-tree-ssa-20020619-branch/gcc/../libbanshee/points-to  -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-omit-frame-pointer \
   -c /cvs/gcc-tree-ssa-20020619-branch/gcc/crtstuff.c -DCRT_BEGIN \
  -o crtbegin.o
/cvs/gcc-tree-ssa-20020619-branch/gcc/crtstuff.c: In function `__do_global_dtors_aux':
/cvs/gcc-tree-ssa-20020619-branch/gcc/crtstuff.c:286: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[2]: *** [crtbegin.o] Error 1
make[2]: *** Waiting for unfinished jobs....
rm -f stamp-gnatlib2 stamp-tools
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/builds/gcc/gcc/gcc'
make[1]: *** [stage1_build] Error 2

config.status has:
/cvs/gcc-tree-ssa-20020619-branch/configure --with-gcc-version-trigger=/cvs/gcc-tree-ssa-20020619-branch/gcc/version.c --host=i686-pc-linux-gnu --prefix=/opt/gcc/tree-ssa-20020619-branch --disable-nls --enable-threads=posix --enable-clocale=gnu --enable-__cxa_atexit --enable-shared --enable-languages=c,c++,f77,java,objc,ada --enable-checking=misc,tree,rtl,gc,rtlflag --with-system-zlib --norecursion 

The failure is here:

arthur:/builds/gcc/gcc/gcc:[1]$ gdb  /builds/gcc/gcc/gcc/cc1
GNU gdb 5.2.1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i586-suse-linux"...
Breakpoint 1 at 0x81582a8: file /cvs/gcc-tree-ssa-20020619-branch/gcc/diagnostic.c, line 1369.
Breakpoint 2 at 0x8049598
Breakpoint 3 at 0x8049378
(gdb) r  -fpreprocessed crtstuff.i -quiet -dumpbase crtstuff.c -auxbase-strip crtbegin.o -g0 -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -version -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-omit-frame-pointer -o crtstuff.s
Breakpoint 2 at 0x40051586
Breakpoint 3 at 0x40050345
GNU C version 3.5-tree-ssa 20021217 (experimental) (i686-pc-linux-gnu)
        compiled by GNU C version 3.2.1 20020927 (prerelease) (SuSE Linux).

Program received signal SIGSEGV, Segmentation fault.
0x085a7ad7 in emit_initial_value_sets () at /cvs/gcc-tree-ssa-20020619-branch/gcc/integrate.c:3164
3164      for (i = 0; i < ivs->num_entries; i++)
(gdb) p ivs
$1 = (struct initial_value_struct *) 0x1
(gdb) 

The value of ivs is wrong and this comes from cfun:

(gdb) b emit_initial_value_sets
Breakpoint 4 at 0x85a7ab2: file /cvs/gcc-tree-ssa-20020619-branch/gcc/integrate.c, line 3156.
(gdb) r
GNU C version 3.5-tree-ssa 20021217 (experimental) (i686-pc-linux-gnu)
        compiled by GNU C version 3.2.1 20020927 (prerelease) (SuSE Linux).

Breakpoint 4, emit_initial_value_sets () at /cvs/gcc-tree-ssa-20020619-branch/gcc/integrate.c:3156
3156      struct initial_value_struct *ivs = cfun->hard_reg_initial_vals;
(gdb) p cfun->hard_reg_initial_vals
$2 = (struct initial_value_struct *) 0x1


Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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