Still open?
See gcc patch https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=261034. It solves this particular issue,
copy constructor of empty string throws std::bad_array_new_length
Now fixed on Github :D
wrong compare of empty strings
Fixed on Github :)
Latest code breaks on long string
Fixed on Github :)