Workaround a C++ bug in GCC 4.2 in gold test