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]

internal compiler error in gcc 3.4.2


I encountered the following error while compiling a testcase for my 
library using gcc. I have enclosed the appropriate preprocessed source 
files. I apologize for attaching multiple source files but there isn't 
any other way to demonstrate the problem. The error is reproducable by:

gcc -o stresstest hunk.i hunk_global.i stresstest.i


boris@CopperCore$ gcc -v -save-temps -I../libhunk/include -o 
stresstest stresstest.c ../libhunk/src/*.c
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.2 [FreeBSD] 20040728
 /usr/libexec/cc1 -E -quiet -v -I../libhunk/include -D_LONGLONG 
stresstest.c -o stresstest.i
ignoring duplicate directory "/usr/include"
#include "..." search starts here:
#include <...> search starts here:
 ../libhunk/include
 /usr/include
End of search list.
 /usr/libexec/cc1 -fpreprocessed stresstest.i -quiet -dumpbase 
stresstest.c -auxbase stresstest -version -o stresstest.s
GNU C version 3.4.2 [FreeBSD] 20040728 (i386-fbsdproj-freebsd)
        compiled by GNU C version 3.4.2 [FreeBSD] 20040728.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
stresstest.c: In function `main':
stresstest.c:103: error: unrecognizable insn:
(insn/f 794 793 795 (parallel [
            (set (reg/f:SI 7 sp)
                (plus:SI (reg/f:SI 7 sp)
                    (const_int -4000000116 [0xffffffff1194d78c])))
            (clobber (reg:CC 17 flags))
            (clobber (mem:BLK (scratch) [0 A8]))
        ]) -1 (nil)
    (expr_list:REG_UNUSED (reg:CC 17 flags)
        (nil)))
stresstest.c:103: internal compiler error: in insn_default_length, at 
insn-attrtab.c:435
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
 /usr/libexec/cc1 -E -quiet -v -I../libhunk/include -
D_LONGLONG ../libhunk/src/hunk.c -o hunk.i
ignoring duplicate directory "/usr/include"
#include "..." search starts here:
#include <...> search starts here:
 ../libhunk/include
 /usr/include
End of search list.
 /usr/libexec/cc1 -fpreprocessed hunk.i -quiet -dumpbase hunk.c -
auxbase hunk -version -o hunk.s
GNU C version 3.4.2 [FreeBSD] 20040728 (i386-fbsdproj-freebsd)
        compiled by GNU C version 3.4.2 [FreeBSD] 20040728.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
 /usr/bin/as -v -o hunk.o hunk.s
GNU assembler version 2.15 [FreeBSD] 2004-05-23 (i386-obrien-freebsd) 
using BFD version 2.15 [FreeBSD] 2004-05-23
 /usr/libexec/cc1 -E -quiet -v -I../libhunk/include -
D_LONGLONG ../libhunk/src/hunk_global.c -o hunk_global.i
ignoring duplicate directory "/usr/include"
#include "..." search starts here:
#include <...> search starts here:
 ../libhunk/include
 /usr/include
End of search list.
 /usr/libexec/cc1 -fpreprocessed hunk_global.i -quiet -dumpbase 
hunk_global.c -auxbase hunk_global -version -o hunk_global.s
GNU C version 3.4.2 [FreeBSD] 20040728 (i386-fbsdproj-freebsd)
        compiled by GNU C version 3.4.2 [FreeBSD] 20040728.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
 /usr/bin/as -v -o hunk_global.o hunk_global.s
GNU assembler version 2.15 [FreeBSD] 2004-05-23 (i386-obrien-freebsd) 
using BFD version 2.15 [FreeBSD] 2004-05-23

Attachment: hunk.i
Description: Text document

Attachment: hunk_global.i
Description: Text document

Attachment: stresstest.i
Description: Text document


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