The attached code segfaults the compiler on x86_64 (binary distribution of 0.24), but does not on x86.
$ /usr/local/gdc64-bin/bin/gdmd -c crash.d
crash.d:0: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
$ /usr/local/gdc64-bin/bin/gdmd -q,--version -c crash.d
gdc (GCC) 4.1.2 20070214 ( (gdc 0.24, using dmd 1.020))
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.