[LLVMbugs] [Bug 6636] x86_64 vararg garbled with very long argument list

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jan 4 10:30:05 PST 2013


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

Thomas B. Jablin <tjablin at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |tjablin at gmail.com
         Resolution|                            |DUPLICATE

--- Comment #1 from Thomas B. Jablin <tjablin at gmail.com> 2013-01-04 12:30:05 CST ---
This bug has the same underlying cause as 14792. This test case fails on x86-64
because the s1 parameter was forced onto the stack due to the previous
parameters exhausting all registers. va_start does not compute the right offset
since it does not account for the alignment rules for variadic functions (AMD64
ABI 3.5.7 rule 10) and sizeof(struct three) is not a multiple of 8.

*** This bug has been marked as a duplicate of bug 14792 ***

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