[llvm-bugs] [Bug 30200] New: Infinitely decreased stack pointer
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Aug 30 11:37:33 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=30200
Bug ID: 30200
Summary: Infinitely decreased stack pointer
Product: libraries
Version: 3.8
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Backend: X86
Assignee: unassignedbugs at nondot.org
Reporter: llvm at henning-thielemann.de
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
Created attachment 17185
--> https://llvm.org/bugs/attachment.cgi?id=17185&action=edit
LL file for loop with ever decreasing stack pointer
I attach a small example of code that I generated programmatically via MCJIT
and optimized with -O1 to simplify it. It is a loop containing some alloca (but
problem remains with malloc/free). When run it crashes if the loop count is big
enough. The generated X86 assembly code looks like the stack pointer is
decremented repeatedly by these instructions:
movq %rsp, %rax
leaq -32(%rax), %rsp
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160830/511a732c/attachment-0001.html>
More information about the llvm-bugs
mailing list