http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48982
Summary: libgfortran on sysv never uses fpsetmask Product: gcc Version: 4.5.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libfortran AssignedTo: unassig...@gcc.gnu.org ReportedBy: nicolai.sta...@zmaw.de I'm working on Solaris10/SPARC. nic@nic-desktop:~/gcc-4.5.3$ grep -r have_fpsetmask . | grep -v libgfor_ ./libgfortran/configure.host:if test "x${have_fpsetmask}" = "xyes"; then nic@nic-desktop:~/gcc-4.5.3$ have_fpsetmask won't ever be set anywhere. libgfor_cv_have_fpsetmask ist set and should be tested instead. This results in set_fpu coming from fpu-generic.h. Compiling code w. -ffpe-trap=invalid,zero,overflow results in the following warnings when executing the code: Fortran runtime warning: IEEE 'invalid operation' exception not supported. Fortran runtime warning: IEEE 'division by zero' exception not supported. Fortran runtime warning: IEEE 'overflow' exception not supported. Best regards Nicolai