The problem is not with mold or source, but gfortran 5.x expecting an array specification. It was pr44672, fixed by revision r224477. As this is not a regression it has not been back ported to gcc-5. Dominique