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]

current CVS version aborts in size_binops compiling Linux kernel


gcc version 2.96 20000302 (experimental) aborts while compiling
linux/fs/isofs/namei.c with: 

gcc -D__KERNEL__ -I/root/linux/include -W -Wall -Wstrict-prototypes -Wbad-function-cast -Wpointer-arith  -O2 -fomit-frame-pointer -fschedule-insns2 -pipe  -mpreferred-stack-boundary=2 -DCPU=586 -march=k6 -fno-strict-aliasing   -c -o namei.o namei.c
In file included from /root/linux/include/linux/sched.h:24,
                 from namei.c:9:
/root/linux/include/linux/signal.h: In function `sigorsets':
/root/linux/include/linux/signal.h:104: warning: comparison of unsigned expression < 0 is always false
/root/linux/include/linux/signal.h: In function `sigandsets':
/root/linux/include/linux/signal.h:107: warning: comparison of unsigned expression < 0 is always false
/root/linux/include/linux/signal.h: In function `signandsets':
/root/linux/include/linux/signal.h:110: warning: comparison of unsigned expression < 0 is always false
/root/linux/include/linux/signal.h: In function `signotset':
/root/linux/include/linux/signal.h:136: warning: comparison of unsigned expression < 0 is always false
namei.c: In function `isofs_find_entry':
namei.c:167: warning: cast does not match function type
namei.c:184: warning: comparison between signed and unsigned
namei.c:188: warning: comparison between signed and unsigned
namei.c:197: warning: comparison between signed and unsigned
namei.c:206: Internal compiler error in `size_binop', at fold-const.c:1873
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

namei.i is attached

namei.i.bz2


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