www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - A split problem

I am having a problem with using split when compiled with gdc 0.25 20071215. If 
I compile the following code with gdmd it Segfaults, but if I compile it with 
dmd it runs without any errors. I need to use gdc because if its 64-bit
ability. 
Can anyone suggest a work around for this problem?

/**
  * Small app for testing the split function in the std.string package.
  */
import std.stdio;
import std.string;

void main(char[][] args)
{
	char[] testData1 = "A,23.456|B,54.67518|C,51321.463516";
	writefln(split(testData1, "|"));
}
May 21 2008