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] |
rtfm 08:24:29 eigenstr > gcc -v Reading specs from /usr/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.92.32/specs gcc version egcs-2.92.32 19981220 (gcc2 ss-980609 experimental) rtfm 08:24:39 eigenstr > uname -a Linux rtfm 2.1.131 #2 Sun Dec 13 13:44:03 EST 1998 i586 unknown [The kernel is -ac10] This egcs was compiled with egcs-1.1.1 (release), using "configure --prefix=/usr". The attached source file started as postgresql-6.4.1/src/backend/postmaster.c. I ran gcc with the options below, adding --save-temps, then took the resulting .i file and stripped whitespace and all functions other than the one inducing the error. Here's the compilation output. The offending source file is attached. rtfm 08:28:02 eigenstr > gcc -v -O2 -Wall -Wmissing-prototypes -c broken.c Reading specs from /usr/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.92.32/specs gcc version egcs-2.92.32 19981220 (gcc2 ss-980609 experimental) /usr/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.92.32/cpp -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=92 -D__ELF__ -Dunix -D__i386__ -Dlinux -D__ELF__ -D__unix__ -D__i386__ -D__linux__ -D__unix -D__linux -Asystem(posix) -D__OPTIMIZE__ -Wall -Wmissing-prototypes -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -Di586 -Dpentium -D__i586 -D__i586__ -D__pentium -D__pentium__ broken.c /tmp/cc9Id6SO.i GNU CPP version egcs-2.92.32 19981220 (gcc2 ss-980609 experimental) (i386 Linux/ELF) #include "..." search starts here: #include <...> search starts here: /usr/include /usr/i586-pc-linux-gnulibc1/include /usr/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.92.32/include /usr/include End of search list. /usr/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.92.32/cc1 /tmp/cc9Id6SO.i -quiet -dumpbase broken.c -O2 -Wall -Wmissing-prototypes -version -o /tmp/ccQE3ioA.s GNU C version egcs-2.92.32 19981220 (gcc2 ss-980609 experimental) (i586-pc-linux-gnulibc1) compiled by GNU C version egcs-2.91.60 19981201 (egcs-1.1.1 release). In file included from /usr/include/linux/byteorder/little_endian.h:2, from /usr/include/asm/byteorder.h:20, from /usr/include/linux/in.h:56, from /usr/include/netinet/in.h:37, from ../../include/libpq/libpq.h:2, from postmaster.c:77: /usr/include/linux/byteorder/swab.h:43: warning: no previous prototype for `__fswab16' /usr/include/linux/byteorder/swab.h:47: warning: no previous prototype for `__swab16p' /usr/include/linux/byteorder/swab.h:51: warning: no previous prototype for `__swab16s' /usr/include/linux/byteorder/swab.h:56: warning: no previous prototype for `__fswab32' /usr/include/linux/byteorder/swab.h:60: warning: no previous prototype for `__swab32p' /usr/include/linux/byteorder/swab.h:64: warning: no previous prototype for `__swab32s' /usr/include/linux/byteorder/swab.h:69: warning: no previous prototype for `__fswab64' /usr/include/linux/byteorder/swab.h:77: warning: no previous prototype for `__swab64p' /usr/include/linux/byteorder/swab.h:81: warning: no previous prototype for `__swab64s' postmaster.c: In function `initMasks': postmaster.c:166: internal error--unrecognizable insn: (insn 35 120 37 (parallel[ (set (mem/s:BLK (reg:SI 5 %edi) 0) (asm_operands/v ("cld ; rep ; stosl") ("=m") 0[ (reg:SI 0 %eax) (reg/v:SI 2 %ecx) (reg:SI 5 %edi) ] [ (asm_input:SI ("a")) (asm_input:SI ("1")) (asm_input:SI ("2")) ] ("postmaster.c") 147)) (set (reg/v:SI 2 %ecx) (asm_operands/v ("cld ; rep ; stosl") ("=&c") 1[ (reg:SI 0 %eax) (reg/v:SI 2 %ecx) (reg:SI 5 %edi) ] [ (asm_input:SI ("a")) (asm_input:SI ("1")) (asm_input:SI ("2")) ] ("postmaster.c") 147)) (set (reg:SI 5 %edi) (asm_operands/v ("cld ; rep ; stosl") ("=&D") 2[ (reg:SI 0 %eax) (reg/v:SI 2 %ecx) (reg:SI 5 %edi) ] [ (asm_input:SI ("a")) (asm_input:SI ("1")) (asm_input:SI ("2")) ] ("postmaster.c") 147)) (clobber (mem:BLK (scratch) 0)) ] ) -1 (insn_list 6 (nil)) (nil)) toplev.c:1397: Internal compiler error in function fatal_insn
broken.c--induces internal error in egcs snapshot
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |