https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61999
--- Comment #5 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Author: tkoenig Date: Sat Aug 9 22:38:46 2014 New Revision: 213782 URL: https://gcc.gnu.org/viewcvs?rev=213782&root=gcc&view=rev Log: 2014-08-10 Thomas Koenig <tkoe...@gcc.gnu.org> PR fortran/61999 * simplify.c (gfc_simplify_dot_product): Convert types of vectors before calculating the result. 2014-08-10 Thomas Koenig <tkoe...@gcc.gnu.org> PR fortran/61999 * gfortran.dg/dot_product_3.f90: New test case. Added: trunk/gcc/testsuite/gfortran.dg/dot_product_3.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/simplify.c trunk/gcc/testsuite/ChangeLog