[Bug target/49168] [4.7 Regression] Aligned store used with unaligned address

hjl.tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu May 26 14:21:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49168

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ubizjak at gmail dot com

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2011-05-26 14:06:21 UTC ---
[hjl@gnu-6 pr49168]$ cat x.c
void
flt128_va (void *mem, __float128 d)
{ 
  __builtin_memcpy (mem, &d, sizeof (d));
}
[hjl@gnu-6 pr49168]$ make x.s
/export/build/gnu/gcc/build-x86_64-linux/gcc/xgcc
-B/export/build/gnu/gcc/build-x86_64-linux/gcc/ -S -o x.s -O2  x.c
[hjl@gnu-6 pr49168]$ cat x.s
    .file    "x.c"
    .text
    .p2align 4,,15
    .globl    flt128_va
    .type    flt128_va, @function
flt128_va:
.LFB0:
    .cfi_startproc
    movdqa    %xmm0, (%rdi)
    ret
    .cfi_endproc
.LFE0:
    .size    flt128_va, .-flt128_va
    .ident    "GCC: (GNU) 4.7.0 20110526 (experimental)"
    .section    .note.GNU-stack,"",@progbits
[hjl@gnu-6 pr49168]$



More information about the Gcc-bugs mailing list