[Bug fortran/84219] [8 Regression] ICE: Invalid expression in gfc_target_interpret_expr

pault at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 1 11:06:00 GMT 2018


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

--- Comment #3 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Thu Mar  1 11:06:18 2018
New Revision: 258098

URL: https://gcc.gnu.org/viewcvs?rev=258098&root=gcc&view=rev
Log:
2018-03-01  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/84219
        * target-memory.c (gfc_interpret_derived): Assert that BT_VOID
        components are caf tokens.
        (gfc_target_interpret_expr): Treat BT_VOID expressions as
        integers.

2018-03-01  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/84219
        * gfortran.dg/coarray_47.f90: New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/coarray_47.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/target-memory.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list