------- 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