This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/37216] [cygwin] Invalid alignment for SSE store to .comm data generated with -O3
- From: "simon dot sasburg at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Aug 2008 11:35:36 -0000
- Subject: [Bug target/37216] [cygwin] Invalid alignment for SSE store to .comm data generated with -O3
- References: <bug-37216-16627@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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