[LLVMbugs] [Bug 10602] New: test from valgrind leads to "error in backend: Access past stack top!"

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Aug 7 11:15:32 PDT 2011


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

           Summary: test from valgrind leads to "error in backend: Access
                    past stack top!"
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: dimitry at andric.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=7030)
 --> (http://llvm.org/bugs/attachment.cgi?id=7030)
Compile with -O2 to trigger "Access past stack top!"

When I ran valgrind 3.6.1's test suite under clang, it complained with
"fatal error: error in backend: Access past stack top!" when compiling
the memcheck/tests/x86/more_x86_fp.c file.

I have reduced the testcase to the attached file, just try compiling
this with "-O2 -S".  Lower optimization levels seem to work ok, although
I'm not sure if the produced assembly is correct.

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