https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81693

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Please show gdb backtrace as well as disassemble fn/main.

The best I can do without further directive

Current executable set to './a.out' (x86_64).
(lldb) run
Process 25263 launched: './a.out' (x86_64)
Process 25263 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS
(code=EXC_I386_GPFLT)
    frame #0: 0x00007fff9e17d2fa libdyld.dylib`stack_not_16_byte_aligned_error
libdyld.dylib`stack_not_16_byte_aligned_error:
->  0x7fff9e17d2fa <+0>: movdqa %xmm0, (%rsp)
    0x7fff9e17d2ff <+5>: int3   

libdyld.dylib`_dyld_func_lookup:
    0x7fff9e17d300 <+0>: pushq  %rbp
    0x7fff9e17d301 <+1>: movq   %rsp, %rbp
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS
(code=EXC_I386_GPFLT)
  * frame #0: 0x00007fff9e17d2fa libdyld.dylib`stack_not_16_byte_aligned_error

Reply via email to