[LLVMbugs] [Bug 1413] NEW: CBE produces calls to __builtin_stack_restore with C compilers that don't support them
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Fri May 11 15:17:09 PDT 2007
http://llvm.org/bugs/show_bug.cgi?id=1413
Summary: CBE produces calls to __builtin_stack_restore with C
compilers that don't support them
Product: libraries
Version: 2.0
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Backend: C
AssignedTo: unassignedbugs at nondot.org
ReportedBy: sabre at nondot.org
The CBE is unconditionally turning calls to llvm.stacksave into calls to __builtin_stack_restore. It should
only do this if the C compiler supports these. Worst case, it should emit a header that looks like this:
#if !gcc or gcc is too old
#define __builtin_stack_restore(X) 0
#endif
-Chris
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the llvm-bugs
mailing list