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/12535] New: Attempt to delete prologue/epilogue insn


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: Attempt to delete prologue/epilogue insn
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: abacau at yahoo dot com dot au
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: powerpc--netbsd

When attempting to compile src/sys/compat/mach/mach_vm.c from the netbsd-current source 
tree, the compiler fails with the following error:

/usr/src/obj/tooldir.NetBSD-1.6ZC-powerpc/bin/powerpc--netbsd-gcc -v -save-temps -msoft-
float   -ffreestanding -g -O2 -Wreturn-type -Werror -Wall -Wno-main -Wno-format-zero-length 
-Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -Wno-
uninitialized  -Dmacppc -I.  -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DLKM -DDIAGNOSTIC -
DZS_CONSOLE_ABORT -DDEBUG_DARWIN -DDEBUG_MACH -DOFB_ENABLE_CACHE -
DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT   -c /usr/src/sys/compat/mach/mach_vm.c
Reading specs from /usr/src/obj/tooldir.NetBSD-1.6ZC-powerpc/lib/gcc-lib/powerpc--netbsd/
3.3.1/specs
Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc/configure --target=powerpc--netbsd --
disable-nls --enable-long-long --disable-multilib --enable-threads --program-transform-
name=s,^,powerpc--netbsd-, --enable-languages=c c++ objc f77 --prefix=/usr/src/obj/
tooldir.NetBSD-1.6ZC-powerpc --disable-shared
Thread model: posix
gcc version 3.3.1
 /usr/src/obj/tooldir.NetBSD-1.6ZC-powerpc/lib/gcc-lib/powerpc--netbsd/3.3.1/cc1 -E -quiet -
nostdinc -v -I. -I/usr/src/sys/arch -I/usr/src/sys -D__GNUC__=3 -D__GNUC_MINOR__=3 -
D__GNUC_PATCHLEVEL__=1 -Dmacppc -DLKM -DDIAGNOSTIC -DZS_CONSOLE_ABORT -
DDEBUG_DARWIN -DDEBUG_MACH -DOFB_ENABLE_CACHE -DMAXUSERS=32 -D_KERNEL -
D_KERNEL_OPT /usr/src/sys/compat/mach/mach_vm.c -msoft-float -Wreturn-type -Werror -Wall 
-Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-
prototypes -Wno-sign-compare -Wno-uninitialized -ffreestanding -O2 mach_vm.i
#include "..." search starts here:
#include <...> search starts here:
 .
 /usr/src/sys/arch
 /usr/src/sys
End of search list.
 /usr/src/obj/tooldir.NetBSD-1.6ZC-powerpc/lib/gcc-lib/powerpc--netbsd/3.3.1/cc1 -
fpreprocessed mach_vm.i -quiet -dumpbase mach_vm.c -msoft-float -auxbase mach_vm -g -O2 
-Wreturn-type -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-
prototypes -Wstrict-prototypes -Wno-sign-compare -Wno-uninitialized -version -ffreestanding -
o mach_vm.s
GNU C version 3.3.1 (powerpc--netbsd)
        compiled by GNU C version 3.3.1.
GGC heuristics: --param ggc-min-expand=38 --param ggc-min-heapsize=16384
/usr/src/sys/compat/mach/mach_vm.c: In function `mach_vm_wire':
/usr/src/sys/compat/mach/mach_vm.c:304: error: Attempt to delete prologue/epilogue insn:
(insn/f 233 232 234 0 0x0 (set (mem:SI (plus:SI (reg/f:SI 1 r1)
                (const_int 68 [0x44])) [0 S4 A8])
        (reg:SI 0 r0)) -1 (nil)
    (expr_list:REG_FRAME_RELATED_EXPR (set (mem:SI (plus:SI (reg/f:SI 1 r1)
                    (const_int 68 [0x44])) [0 S4 A8])
            (reg:SI 65 lr))
        (nil)))
/usr/src/sys/compat/mach/mach_vm.c:304: internal compiler error: in propagate_one_insn, at 
flow.c:1642


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