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

--- Comment #2 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Sat Oct  6 18:20:14 2018
New Revision: 264900

URL: https://gcc.gnu.org/viewcvs?rev=264900&root=gcc&view=rev
Log:
2018-10-06  Thomas Koenig  <tkoe...@gcc.gnu.org>

        PR fortran/86111
        * gfortran.h (enum arith): Add ARITH_WRONGCONCAT.
        * arith.h (gfc_arith_error): Issue error for ARITH_WRONGCONCAT.
        (gfc_arith_concat):  If the types of op1 and op2 are not
        character of if their kinds do not match, issue ARITH_WRONGCONCAT.

2018-10-06  Thomas Koenig  <tkoe...@gcc.gnu.org>

        PR fortran/86111
        * gfortran.dg/array_constructor_type_23.f90: New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/array_constructor_type_23.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/arith.c
    trunk/gcc/fortran/gfortran.h
    trunk/gcc/testsuite/ChangeLog

Reply via email to