[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


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

           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
/home/ed/projects/freebsd-clang/usr.bin/clang/lib/libllvmcodegen/../../../../contrib/llvm/lib/CodeGen/RegisterScavenging.cpp,
line 272.
Stack dump:
0.      Program arguments:
/usr/obj/arm/home/ed/projects/freebsd-clang/tmp/usr/bin/../libexec/clang-cc
-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
-DPACKAGE=sntp -DVERSION=1.6 -DSYS_FREEBSD -DPARSE -DHAVE_CONFIG_H -DOPENSSL
-I/home/ed/projects/freebsd-clang/usr.sbin/ntp/sntp/../../../contrib/ntp/include
-I/home/ed/projects/freebsd-clang/usr.sbin/ntp/sntp/../
-I/home/ed/projects/freebsd-clang/usr.sbin/ntp/sntp/../../../contrib/ntp/libopts
-O1 -std=gnu99 -fdiagnostics-show-option -o /tmp/cc-uz7idY.s -x c
/home/ed/projects/freebsd-clang/usr.sbin/ntp/sntp/../../../contrib/ntp/sntp/main.c 
1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'Prolog/Epilog Insertion & Frame Finalization' on function
'@correct_drift'


-- 
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