[LLVMbugs] [Bug 5525] New: llc generates duplicate labels

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Nov 16 15:00:44 PST 2009


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

           Summary: llc generates duplicate labels
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: timo.lindfors at iki.fi
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=3825)
 --> (http://llvm.org/bugs/attachment.cgi?id=3825)
bc file that causes llc to generate duplicate labels

Steps to reproduce:
1) llc --relocation-model=pic -o bugpoint.safe.bc.llc.s bugpoint.safe.bc
2) gcc -x assembler -fno-strict-aliasing bugpoint.safe.bc.llc.s -x none -shared
-o bugpoint.safe.bc.llc.s.so -O2

Expected results:
2) gcc accepts the code generated by llc

Actual results:
2) gcc prints a large number of errors about duplicate labels:


bugpoint.safe.bc.llc.s: Assembler messages:
bugpoint.safe.bc.llc.s:33685: Error: symbol `.Lfunc_end76' is already defined
bugpoint.safe.bc.llc.s:34029: Error: symbol `.Lfunc_end76' is already defined
bugpoint.safe.bc.llc.s:34491: Error: symbol `.Lfunc_end76' is already defined
bugpoint.safe.bc.llc.s:34953: Error: symbol `.Lfunc_end76' is already defined
bugpoint.safe.bc.llc.s:35338: Error: symbol `.Lfunc_end76' is already defined
...
bugpoint.safe.bc.llc.s:61089: Error: symbol `.Ldebug_frame_begin76' is already
defined
bugpoint.safe.bc.llc.s:61122: Error: symbol `.Ldebug_frame_end76' is already
defined
bugpoint.safe.bc.llc.s:61125: Error: symbol `.Ldebug_frame_begin76' is already
defined
bugpoint.safe.bc.llc.s:61158: Error: symbol `.Ldebug_frame_end76' is already
defined
bugpoint.safe.bc.llc.s:61161: Error: symbol `.Ldebug_frame_begin76' is already
defined
...

More info:
1) I was trying to use bugpoint to reduce a crash in JIT but then noticed that
after a few reduction rounds llc stopped working.
2) llvm revision is 87031
3) distro is debian stable
4) architecture is x86
5) gcc version is 4.3.2


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