String join crash

println("".join(["ab", "cd"])) normally works, but when compiled and run with -O flag, crashes. 

Note: the current master marks this as a DUPE based on the checksum, but it seems a different issue.