[llvm-bugs] [Bug 30215] New: The address or argc changes when compiled with -O0

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Aug 30 22:25:15 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=30215

            Bug ID: 30215
           Summary: The address or argc changes when compiled with -O0
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: WebAssembly
          Assignee: unassignedbugs at nondot.org
          Reporter: aheejin at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 17191
  --> https://llvm.org/bugs/attachment.cgi?id=17191&action=edit
The program that shows this bug.

The attached program should iterate the for loop twice and print the same thing
four times. But it only print it twice, and the value of argc and its address
changes after alloca() call.

-- 
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/20160831/929d39f2/attachment.html>


More information about the llvm-bugs mailing list