[LLVMbugs] [Bug 5125] clang always generates stackframe when inline asm is present

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jul 2 13:22:32 PDT 2010


Dale Johannesen <dalej at apple.com> changed:

           What    |Removed                     |Added
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #19 from Dale Johannesen <dalej at apple.com> 2010-07-02 15:22:31 CDT ---
Fixed in 107506; at least, GCC-style inline asm should now work the same as
gcc.  Playing more with Apple gcc's asm blocks, gcc-4.2 is quite inconsistent
about whether it does this; for example, this case

void foo() {
  asm {
    int 3

gets the stack aligned with -m32 -fomit-stack-pointer, but not with most other
options.  Proper emulation will wait until we have some actual asm-block code
to deal with.

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