[LLVMbugs] [Bug 10662] New: Incorrect code generation for taking address of a label

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Aug 15 12:07:00 PDT 2011


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

           Summary: Incorrect code generation for taking address of a
                    label
           Product: dragonegg
           Version: unspecified
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: New Bugs
        AssignedTo: baldrick at free.fr
        ReportedBy: feeley at iro.umontreal.ca
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=7071)
 --> (http://llvm.org/bugs/attachment.cgi?id=7071)
Compile this program with LLVM gcc and -O1 to exhibit the bug

Taking the address of a label, as in &&foo where foo is a label, does not
generate correct code. This is used extensively in the C code generated by the
Gambit Scheme compiler for implementing tail calls in C with computed gotos,
i.e. goto *pc.

See attachment for details.

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