[LLVMbugs] [Bug 6306] New: MIPS code generator crash when compiling GCC's _mulsc3.o

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Feb 15 08:22:50 PST 2010


http://llvm.org/bugs/show_bug.cgi?id=6306

           Summary: MIPS code generator crash when compiling GCC's _mulsc3.o
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: ansingh at umich.edu
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=4229)
 --> (http://llvm.org/bugs/attachment.cgi?id=4229)
preprocessed libgcc2.c file

When cross compiling llvm-gcc for mips architecture, I'm getting following
error :
cc1:
/home/ansingh/install/llvm/src/lib/CodeGen/SimpleRegisterCoalescing.cpp:643:
bool
llvm::SimpleRegisterCoalescing::ReMaterializeTrivialDef(llvm::LiveInterval&,
unsigned int, unsigned int, llvm::MachineInstr*): Assertion `SrcLR !=
SrcInt.end() && "Live range not found!"' failed.
../../src/gcc/libgcc2.c:1914: internal compiler error: Aborted

failing command is :
/data/projs/mips-llvm-gcc/obj/./gcc/xgcc -B/data/projs/mips-llvm-gcc/obj/./gcc/
-B/data/projs/install/mips-pc-linux/bin/
-B/data/projs/install/mips-pc-linux/lib/ -isystem
/data/projs/install/mips-pc-linux/include -isystem
/data/projs/install/mips-pc-linux/sys-include  -O2  -O2 -g -O2  -DIN_GCC
-DCROSS_DIRECTORY_STRUCTURE   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./include  -fPIC -g
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I.
-I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include
-I../../src/gcc/../libcpp/include  -I../../src/gcc/../libdecnumber
-I../libdecnumber -I/home/ansingh/install/llvm/obj//include
-I/home/ansingh/install/llvm/src/include -DL_muldc3 -fvisibility=hidden
-DHIDE_EXPORTS -c ../../src/gcc/libgcc2.c -o libgcc/./_muldc3.o

I'm attaching the preprocessed libgcc2.c file if that can be of any help.

LLVM info:

URL: https://user@llvm.org/svn/llvm-project/llvm/trunk
Repository Root: https://user@llvm.org/svn/llvm-project
Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8
Revision: 95590
Node Kind: directory
Schedule: normal
Last Changed Author: lattner
Last Changed Rev: 95588
Last Changed Date: 2010-02-08 17:09:08 -0500 (Mon, 08 Feb 2010)

LLVM-gcc info:

URL: http://llvm.org/svn/llvm-project/llvm-gcc-4.2/trunk
Repository Root: http://llvm.org/svn/llvm-project
Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8
Revision: 96222
Node Kind: directory
Schedule: normal
Last Changed Author: rafael
Last Changed Rev: 96222
Last Changed Date: 2010-02-15 10:41:17 -0500 (Mon, 15 Feb 2010)


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list