In gfortran 4.2, the frontend always inlines dot_product. Hence it should be removed from the library.
-- Summary: dot_product should be removed from the library Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libfortran AssignedTo: jb at gcc dot gnu dot org ReportedBy: jb at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27919