Bug confirmed:
oshawk@earth:/tmp$ cat test.d import std.stdio; void main() { writefln("Hello %s!", "world"); }
goshawk@earth:/tmp$ gdc -v Using built-in specs. Target: x86_64-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,d --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --disable-libmudflap --enable-checking=release x86_64-linux-gnu Thread model: posix gcc version 4.1.3 20070831 (prerelease gdc 0.25, using dmd 1.021) (Ubuntu 0.25-4.1.2-16ubuntu1) goshawk@earth:/tmp$ gdc test.d goshawk@earth:/tmp$ ./a.out Hello world!
goshawk@earth:/tmp$ gdc -v Using built-in specs. Target: x86_64-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,d --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --disable-libmudflap --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.2.3 20080225 (prerelease gdc 0.25 20071215, using dmd 1.022) (Ubuntu 0.25-4.2.3-2ubuntu2) goshawk@earth:/tmp$ gdc test.d goshawk@earth:/tmp$ ./a.out Segmentation fault
Bug confirmed:
oshawk@earth:/tmp$ cat test.d "Hello %s!", "world");
import std.stdio;
void main() {
writefln(
}
goshawk@earth:/tmp$ gdc -v languages= c,c++,d --prefix=/usr --enable-shared --with-system-zlib --libexecdir= /usr/lib --without- included- gettext --enable- threads= posix --enable-nls --with- gxx-include- dir=/usr/ include/ c++/4.1. 3 --program- suffix= -4.1 --enable- __cxa_atexit --enable- clocale= gnu --disable- libmudflap --enable- checking= release x86_64-linux-gnu 1.2-16ubuntu1)
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --enable-
Thread model: posix
gcc version 4.1.3 20070831 (prerelease gdc 0.25, using dmd 1.021) (Ubuntu 0.25-4.
goshawk@earth:/tmp$ gdc test.d
goshawk@earth:/tmp$ ./a.out
Hello world!
goshawk@earth:/tmp$ gdc -v languages= c,c++,d --prefix=/usr --enable-shared --with-system-zlib --libexecdir= /usr/lib --without- included- gettext --enable- threads= posix --enable-nls --with- gxx-include- dir=/usr/ include/ c++/4.2 --program- suffix= -4.2 --enable- clocale= gnu --disable- libmudflap --enable- checking= release --build= x86_64- linux-gnu --host= x86_64- linux-gnu --target= x86_64- linux-gnu 2.3-2ubuntu2)
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --enable-
Thread model: posix
gcc version 4.2.3 20080225 (prerelease gdc 0.25 20071215, using dmd 1.022) (Ubuntu 0.25-4.
goshawk@earth:/tmp$ gdc test.d
goshawk@earth:/tmp$ ./a.out
Segmentation fault