https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109492
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Jonathan Wakely from comment #0) > This was built on solaris 2.10 so maybe the solution is just to update > /opt/csw/bin/gcc. I'll ask the cfarm admins about that. That wouldn't help, Solaris 2.11 still doesn't provide abs(long long) in <stdlib.h> so it has to be provided by libstdc++, and GCC 5.5 didn't do that correctly. So I think the Fortran front end should use std::abs for portability to older GCC systems (we claim to be able to bootstrap with anything newer than GCC 4.8).