[LLVMbugs] [Bug 5046] Stack misadjustment when using sret.

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Sep 25 01:06:55 PDT 2009


Anton Korobeynikov <asl at math.spbu.ru> changed:

           What    |Removed                     |Added
                 CC|                            |asl at math.spbu.ru
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #2 from Anton Korobeynikov <asl at math.spbu.ru>  2009-09-25 03:06:53 ---
The code is fully correct according to x86 ABI. For struct return the caller
allocates the place for hidden sret arg, but callee cleans the stack.

You 'main' function has a non-standard signature, thus if there is something
which relies on it, the things might be broken.

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