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/17885] New: gimplify.c fatal error while expanding a macro


This snapshot crashes while compiling the kernel of NetBSD in the file kern_lock.c.

Here is the output of the compiler:

----
Reading specs from /usr/pkg/gcc40/lib/gcc/i386-unknown-netbsdelf2.99.9/4.0.0/specs
Configured with: ./configure --x-includes=/usr/pkg/xorg/include
--x-libraries=/usr/pkg/xorg/lib --enable-languages=c c++ objc
--prefix=/usr/pkg/gcc40
Thread model: posix
gcc version 4.0.0 20041003 (experimental)
 /usr/pkg/gcc40/libexec/gcc/i386-unknown-netbsdelf2.99.9/4.0.0/cc1 -E -quiet
-nostdinc -v -I. -I../../../../arch -I../../../.. -I../../../../dist/ipf -Di386
-DLKM -DUMASS_DEBUG -DUGEN_DEBUG -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT
../../../../kern/kern_lock.c -march=pentium4 -msse2 -mfpmath=sse -Wall -Wno-main
-Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes
-Wno-sign-compare -ffreestanding -fno-zero-initialized-in-bss -O2
-fpch-preprocess -o kern_lock.i
#include "..." search starts here:
#include <...> search starts here:
 .
 ../../../../arch
 ../../../..
 ../../../../dist/ipf
End of search list.
 /usr/pkg/gcc40/libexec/gcc/i386-unknown-netbsdelf2.99.9/4.0.0/cc1
-fpreprocessed kern_lock.i -quiet -dumpbase kern_lock.c -march=pentium4 -msse2
-mfpmath=sse -auxbase kern_lock -O2 -Wall -Wno-main -Wno-format-zero-length
-Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare
-version -ffreestanding -fno-zero-initialized-in-bss -o kern_lock.s
GNU C version 4.0.0 20041003 (experimental) (i386-unknown-netbsdelf2.99.9)
        compiled by GNU C version 4.0.0 20041003 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
../../../../kern/kern_lock.c: In function 'acquire':
../../../../kern/kern_lock.c:233: internal compiler error: in gimplify_expr, at
gimplify.c:3975

The .i files follows.

Have fun folks ;)
Vincent

-- 
           Summary: gimplify.c fatal error while expanding a macro
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: 10 dot 50 at free dot fr
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i386-unknown-netbsdelf2.99.9
GCC target triplet: i386-unknown-netbsdelf2.99.9


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17885


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