This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/17342] New: Incorrect sharing of tree nodes
- From: "aj at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Sep 2004 05:07:37 -0000
- Subject: [Bug middle-end/17342] New: Incorrect sharing of tree nodes
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Building glibc I get:
/opt/gcc/3.5-devel/bin/gcc wgenops.c -c -std=gnu99 -O2 -Wall -Winline
-Wstrict-prototypes -Wwrite-strings -g -fexceptions -I../include -I.
-I/builds/glibc/3.5/libio -I.. -I../libio -I/builds/glibc/3.5
-I../sysdeps/x86_64/elf -I../linuxthreads/sysdeps/unix/sysv/linux/x86_64
-I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread
-I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv
-I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/x86_64
-I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/x86_64
-I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/unix/sysv/linux
-I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman
-I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64
-I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/fpu -I../sysdeps/x86_64
-I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-96
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754
-I../sysdeps/generic/elf -I../sysdeps/generic -D_LIBC_REENTRANT -include
../include/libc-symbols.h -D_IO_MTSAFE_IO -o
/builds/glibc/3.5/libio/wgenops.o -MD -MP -MF
/builds/glibc/3.5/libio/wgenops.o.dt -MT /builds/glibc/3.5/libio/wgenops.o -v
-save-temps
Reading specs from /opt/gcc/3.5-devel/lib/gcc/x86_64-suse-linux-gnu/3.5.0/specs
Configured with: /cvs/gcc/configure --prefix=/opt/gcc/3.5-devel --disable-nls
--enable-threads=posix --enable-clocale=gnu --enable-__cxa_atexit
--enable-shared --enable-languages=c,c++,treelang,java,f95,objc
--with-system-zlib x86_64-suse-linux-gnu
Thread model: posix
gcc version 3.5.0 20040906 (experimental)
/opt/gcc/3.5-devel/libexec/gcc/x86_64-suse-linux-gnu/3.5.0/cc1 -E -quiet -v
-I../include -I. -I/builds/glibc/3.5/libio -I.. -I../libio -I/builds/glibc/3.5
-I../sysdeps/x86_64/elf -I../linuxthreads/sysdeps/unix/sysv/linux/x86_64
-I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread
-I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv
-I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/x86_64
-I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/x86_64
-I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/unix/sysv/linux
-I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman
-I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64
-I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/fpu -I../sysdeps/x86_64
-I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-96
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754
-I../sysdeps/generic/elf -I../sysdeps/generic -MD
/builds/glibc/3.5/libio/wgenops.d -MF /builds/glibc/3.5/libio/wgenops.o.dt -MP
-MT /builds/glibc/3.5/libio/wgenops.o -MQ /builds/glibc/3.5/libio/wgenops.o
-D_LIBC_REENTRANT -D_IO_MTSAFE_IO -include ../include/libc-symbols.h wgenops.c
-mtune=k8 -std=gnu99 -Wall -Winline -Wstrict-prototypes -Wwrite-strings
-fexceptions -fworking-directory -O2 -fpch-preprocess -o wgenops.i
ignoring nonexistent directory
"/opt/gcc/3.5-devel/lib/gcc/x86_64-suse-linux-gnu/3.5.0/../../../../x86_64-suse-linux-gnu/include"
ignoring duplicate directory "../libio"
#include "..." search starts here:
#include <...> search starts here:
../include
.
/builds/glibc/3.5/libio
..
/builds/glibc/3.5
../sysdeps/x86_64/elf
../linuxthreads/sysdeps/unix/sysv/linux/x86_64
../linuxthreads/sysdeps/unix/sysv/linux
../linuxthreads/sysdeps/pthread
../sysdeps/pthread
../linuxthreads/sysdeps/unix/sysv
../linuxthreads/sysdeps/unix
../linuxthreads/sysdeps/x86_64
../libidn/sysdeps/unix
../sysdeps/unix/sysv/linux/x86_64
../sysdeps/unix/sysv/linux/wordsize-64
../sysdeps/unix/sysv/linux
../sysdeps/gnu
../sysdeps/unix/common
../sysdeps/unix/mman
../sysdeps/unix/inet
../sysdeps/unix/sysv
../sysdeps/unix/x86_64
../sysdeps/unix
../sysdeps/posix
../sysdeps/x86_64/fpu
../sysdeps/x86_64
../sysdeps/wordsize-64
../sysdeps/ieee754/ldbl-96
../sysdeps/ieee754/dbl-64
../sysdeps/ieee754/flt-32
../sysdeps/ieee754
../sysdeps/generic/elf
../sysdeps/generic
/usr/local/include
/opt/gcc/3.5-devel/include
/opt/gcc/3.5-devel/lib/gcc/x86_64-suse-linux-gnu/3.5.0/include
/usr/include
End of search list.
/opt/gcc/3.5-devel/libexec/gcc/x86_64-suse-linux-gnu/3.5.0/cc1 -fpreprocessed
wgenops.i -quiet -dumpbase wgenops.c -mtune=k8 -auxbase-strip
/builds/glibc/3.5/libio/wgenops.o -g -O2 -Wall -Winline -Wstrict-prototypes
-Wwrite-strings -std=gnu99 -version -fexceptions -o wgenops.s
GNU C version 3.5.0 20040906 (experimental) (x86_64-suse-linux-gnu)
compiled by GNU C version 3.5.0 20040906 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
wgenops.c: In function `_IO_wdefault_xsputn':
wgenops.c:320: error: Incorrect sharing of tree nodes
T.700<D9863>_76 = (<unnamed type>) i<D9366>_91;
(<unnamed type>) i<D9366>_91;
wgenops.c:320: internal compiler error: verify_stmts failed.
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: Incorrect sharing of tree nodes
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: aj at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: x86_64-linux-gnu
GCC host triplet: x86_64-linux-gnu
GCC target triplet: x86_64-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17342