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/37216] [cygwin] Invalid alignment for SSE store to .comm data generated with -O3



------- Comment #2 from simon dot sasburg at gmail dot com  2008-08-24 11:35 -------
with -S added:
.globl _iint
        .bss
        .align 4
_iint:
        .space 4
        .comm   _iarr, 256       # 256
        .section .rdata,"dr"
        .align 16

with -S -fno-common added:
.globl _iint
        .bss
        .align 4
_iint:
        .space 4
.globl _iarr
        .align 32
_iarr:
        .space 256
        .section .rdata,"dr"
        .align 16

Note: with just -fno-common added the resulting test.exe runs without
segfaulting


-- 


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


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