[LLVMbugs] [Bug 4090] New: Assertion failed: Re-defining a live register!", lib/ CodeGen/RegisterScavenging.cpp, line 272

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Apr 27 10:17:02 PDT 2009


           Summary: Assertion failed: Re-defining a live register!",
                    lib/CodeGen/RegisterScavenging.cpp, line 272
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Backend: ARM
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: ed at 80386.nl
                CC: llvmbugs at cs.uiuc.edu
            Blocks: 3696

Created an attachment (id=2899)
 --> (http://llvm.org/bugs/attachment.cgi?id=2899)
Preprocessed C file

When compiling the attached source file for ARM, I'm seeing the following
failed assertion:

Assertion failed: ((isReserved(Reg) || isUnused(Reg) || IsImpDef ||
isImplicitlyDefined(Reg) || isLiveInButUnusedBefore(Reg, MI, MBB, TRI, MRI)) &&
"Re-defining a live register!"), function forward, file
line 272.
Stack dump:
0.      Program arguments:
-triple arm-undermydesk-freebsd8.0 -S -disable-free -main-file-name main.c
--relocation-model static --disable-fp-elim --unwind-tables=0 --fmath-errno=1
-O1 -std=gnu99 -fdiagnostics-show-option -o /tmp/cc-uz7idY.s -x c
1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'Prolog/Epilog Insertion & Frame Finalization' on function

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