Hi, Dont' know if it'll help anything, but here goes output from gcc 3.4.1 compiled on BeOS r5 for BeOS r5 (using binutils 2.15, if it matters): $gcc -pedantic -O1 -o bug bug.c ; echo -n 'with optimize: ' ; ./bug bug.c: In function `main': bug.c:9: warning: initializer element is not computable at load time with optimize: 1 $gcc -O0 -o bug bug.c ; echo -n 'without optimize: ' ; ./bug without optimize: 0 $gcc -v Reading specs from /boot/develop/tools/gnupro/lib/gcc/i586-pc-beos/3.4.1/specs Configured with: ../gcc-3.4.1/configure --prefix=/boot/develop/tools/gnupro --target=i586-pc-beos --disable-nls --enable-languages=c,c++ --with-gxx-include-dir=/boot/develop/tools/gnupro/i586-pc-beos/include --with-gnu-as --with-gnu-ld --enable-threads=beos Thread model: beos gcc version 3.4.1 Regards ahwayakchih