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

[Bug c/14682] New: error: Invalid operand to binary operator


Building glibc CVS, I get:
../sysdeps/posix/readv.c: In function `__atomic_readv_replacement':
../sysdeps/posix/readv.c:35: error: Invalid operand to binary operator
(long int<D3>)T.182<D6760>_122;

../sysdeps/posix/readv.c:35: internal compiler error: verify_stmts failed.
Please submit a full bug report,
with preprocessed source if appropriate.

Complete invocation is:

$ /opt/gcc/tree-ssa-20020619-branch/bin/gcc ../sysdeps/
unix/sysv/linux/readv.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes
-Wwrite-strings -g   -fexceptions -fasynchronous-unwind-tables   -I../include
-I. -I/builds/glibc/tree-ssa/misc -I.. -I../libio  -I/builds/glibc/tree-ssa
-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 -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     
 -o /builds/glibc/tree-ssa/misc/readv.o -MD -MP -MF
/builds/glibc/tree-ssa/misc/readv.o.dt -save-temps -v
Reading specs from
/opt/gcc/tree-ssa-20020619-branch/lib/gcc/x86_64-suse-linux-gnu/3.5-tree-ssa/specs
Configured with: /cvs/gcc-tree-ssa-20020619-branch/configure
--prefix=/opt/gcc/tree-ssa-20020619-branch --disable-nls --enable-threads=posix
--enable-clocale=gnu --enable-__cxa_atexit --enable-shared
--enable-languages=c,c++,java,f95,objc --with-system-zlib x86_64-suse-linux-gnu
Thread model: posix
gcc version 3.5-tree-ssa 20040322 (merged 20040307)
 /opt/gcc/tree-ssa-20020619-branch/libexec/gcc/x86_64-suse-linux-gnu/3.5-tree-ssa/cc1
-E -quiet -v -I../include -I. -I/builds/glibc/tree-ssa/misc -I.. -I../libio
-I/builds/glibc/tree-ssa -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 -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/tree-ssa/misc/readv.d -MF
/builds/glibc/tree-ssa/misc/readv.o.dt -MP -MQ
/builds/glibc/tree-ssa/misc/readv.o -D_LIBC_REENTRANT -include
../include/libc-symbols.h ../sysdeps/unix/sysv/linux/readv.c -mtune=k8
-std=gnu99 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -fexceptions
-fasynchronous-unwind-tables -fworking-directory -O2 -o readv.i
ignoring nonexistent directory
"/opt/gcc/tree-ssa-20020619-branch/lib/gcc/x86_64-suse-linux-gnu/3.5-tree-ssa/../../../../x86_64-suse-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 ../include
 .
 /builds/glibc/tree-ssa/misc
 ..
 ../libio
 /builds/glibc/tree-ssa
 ../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
 ../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/tree-ssa-20020619-branch/include
 /opt/gcc/tree-ssa-20020619-branch/lib/gcc/x86_64-suse-linux-gnu/3.5-tree-ssa/include
 /usr/include
End of search list.
 /opt/gcc/tree-ssa-20020619-branch/libexec/gcc/x86_64-suse-linux-gnu/3.5-tree-ssa/cc1
-fpreprocessed readv.i -quiet -dumpbase readv.c -mtune=k8 -auxbase-strip
/builds/glibc/tree-ssa/misc/readv.o -g -O2 -Wall -Winline -Wstrict-prototypes
-Wwrite-strings -std=gnu99 -version -fexceptions -fasynchronous-unwind-tables -o
readv.s
GNU C version 3.5-tree-ssa 20040322 (merged 20040307) (x86_64-suse-linux-gnu)
        compiled by GNU C version 3.5-tree-ssa 20040322 (merged 20040307).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
../sysdeps/posix/readv.c: In function `__atomic_readv_replacement':
../sysdeps/posix/readv.c:35: error: Invalid operand to binary operator
(long int<D3>)T.182<D6760>_122;

../sysdeps/posix/readv.c:35: 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: error: Invalid operand to binary operator
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: c
        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=14682


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