https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83998

--- Comment #2 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Fri Jan 26 19:33:16 2018
New Revision: 257104

URL: https://gcc.gnu.org/viewcvs?rev=257104&root=gcc&view=rev
Log:
2018-01-26  Steven G. Kargl  <ka...@gcc.gnu.org>

        PR fortran/83998
        * simplify.c (compute_dot_product):  Initialize result to INTEGER(1) 0
        or .false.  The summation does the correct type conversion.
        (gfc_simplify_dot_product): Special case zero-sized arrays.


2018-01-26  Steven G. Kargl  <ka...@gcc.gnu.org>

        PR fortran/83998
        * gfortran.dg/dot_product_4.f90

Added:
    trunk/gcc/testsuite/gfortran.dg/dot_product_4.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/simplify.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to