This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/77405] SIGBUS from gnatmake in stage 3 (gcc 7.0)


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

--- Comment #20 from John Marino <gnugcc at marino dot st> ---
Dump of assembler code for function osint__file_name_hash_table__setX:
   0x00000000004cbae0 <+0>:     mov    %edi,%eax
   0x00000000004cbae2 <+2>:     mov    $0x80604837,%edx
   0x00000000004cbae7 <+7>:     push   %r12
   0x00000000004cbae9 <+9>:     imul   %edx
   0x00000000004cbaeb <+11>:    mov    %edi,%r12d
   0x00000000004cbaee <+14>:    push   %rbp
   0x00000000004cbaef <+15>:    push   %rbx
   0x00000000004cbaf0 <+16>:    lea    (%rdx,%rdi,1),%eax
   0x00000000004cbaf3 <+19>:    mov    %edi,%edx
   0x00000000004cbaf5 <+21>:    sar    $0x1f,%edx
   0x00000000004cbaf8 <+24>:    sar    $0x9,%eax
   0x00000000004cbafb <+27>:    sub    %edx,%eax
   0x00000000004cbafd <+29>:    imul   $0x3fd,%eax,%eax
   0x00000000004cbb03 <+35>:    sub    %eax,%r12d
   0x00000000004cbb06 <+38>:    movslq %r12d,%r12
   0x00000000004cbb09 <+41>:    mov    0x84fd80(,%r12,8),%rax
   0x00000000004cbb11 <+49>:    test   %rax,%rax
   0x00000000004cbb14 <+52>:    jne    0x4cbb29
<osint__file_name_hash_table__setX+73>
   0x00000000004cbb16 <+54>:    jmp    0x4cbb50
<osint__file_name_hash_table__setX+112>
   0x00000000004cbb18 <+56>:    nopl   0x0(%rax,%rax,1)
   0x00000000004cbb20 <+64>:    mov    0x40(%rax),%rax
   0x00000000004cbb24 <+68>:    test   %rax,%rax
   0x00000000004cbb27 <+71>:    je     0x4cbb50
<osint__file_name_hash_table__setX+112>
   0x00000000004cbb29 <+73>:    cmp    (%rax),%edi
   0x00000000004cbb2b <+75>:    jne    0x4cbb20
<osint__file_name_hash_table__setX+64>
   0x00000000004cbb2d <+77>:    movdqa (%rsi),%xmm0
   0x00000000004cbb31 <+81>:    movaps %xmm0,0x10(%rax)
   0x00000000004cbb35 <+85>:    movdqa 0x10(%rsi),%xmm0
   0x00000000004cbb3a <+90>:    movaps %xmm0,0x20(%rax)
   0x00000000004cbb3e <+94>:    movdqa 0x20(%rsi),%xmm0
   0x00000000004cbb43 <+99>:    movaps %xmm0,0x30(%rax)
   0x00000000004cbb47 <+103>:   pop    %rbx
   0x00000000004cbb48 <+104>:   pop    %rbp
   0x00000000004cbb49 <+105>:   pop    %r12
   0x00000000004cbb4b <+107>:   retq
   0x00000000004cbb4c <+108>:   nopl   0x0(%rax)
   0x00000000004cbb50 <+112>:   mov    %rsi,%rbp
   0x00000000004cbb53 <+115>:   mov    %edi,%ebx
   0x00000000004cbb55 <+117>:   mov    $0x50,%edi
   0x00000000004cbb5a <+122>:   callq  0x60dc40 <__gnat_malloc>
   0x00000000004cbb5f <+127>:   movdqa 0x0(%rbp),%xmm0
   0x00000000004cbb64 <+132>:   mov    0x84fd80(,%r12,8),%rdx
   0x00000000004cbb6c <+140>:   mov    %ebx,(%rax)
=> 0x00000000004cbb6e <+142>:   movaps %xmm0,0x10(%rax)
   0x00000000004cbb72 <+146>:   movdqa 0x10(%rbp),%xmm0
   0x00000000004cbb77 <+151>:   mov    %rdx,0x40(%rax)
   0x00000000004cbb7b <+155>:   movaps %xmm0,0x20(%rax)
   0x00000000004cbb7f <+159>:   movdqa 0x20(%rbp),%xmm0
   0x00000000004cbb84 <+164>:   mov    %rax,0x84fd80(,%r12,8)
   0x00000000004cbb8c <+172>:   movaps %xmm0,0x30(%rax)
   0x00000000004cbb90 <+176>:   pop    %rbx
   0x00000000004cbb91 <+177>:   pop    %rbp
   0x00000000004cbb92 <+178>:   pop    %r12
   0x00000000004cbb94 <+180>:   retq
End of assembler dump.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]