2014-08-10 Thomas Koenig <tkoenig@gcc.gnu.org>
commitc861a82160060f28fc80ff2623d4b5a45d59d4bf
authortkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 Aug 2014 22:38:46 +0000 (9 22:38 +0000)
committertkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 Aug 2014 22:38:46 +0000 (9 22:38 +0000)
tree2bd995fd5969ee34d779a626b328099b61025b8e
parentf30f9a2ce9edca660db92413b02ac83253b9189d
2014-08-10  Thomas Koenig  <tkoenig@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  <tkoenig@gcc.gnu.org>

PR fortran/61999
* gfortran.dg/dot_product_3.f90:  New test case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213782 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/simplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/dot_product_3.f90 [new file with mode: 0644]