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: [email protected]
ReportedBy: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs