[Bug fortran/61999] [4.8/4.9/4.10 Regression] `gfc_simplify_dot_product` causes ICE for constant arguments

tkoenig at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Aug 10 14:20:00 GMT 2014


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

--- Comment #7 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Sun Aug 10 14:19:18 2014
New Revision: 213789

URL: https://gcc.gnu.org/viewcvs?rev=213789&root=gcc&view=rev
Log:
2014-08-10  Thomas Koenig  <tkoenig@gcc.gnu.org>

    Backport from trunk
    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>

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

Added:
    branches/gcc-4_8-branch/gcc/testsuite/gfortran.dg/dot_product_3.f90
Modified:
    branches/gcc-4_8-branch/gcc/fortran/ChangeLog
    branches/gcc-4_8-branch/gcc/fortran/simplify.c
    branches/gcc-4_8-branch/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list