[Bug fortran/87401] [9 Regression] Runtime segfault with associated intent(out) variable

tkoenig at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Sep 24 17:17:00 GMT 2018


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

--- Comment #3 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Mon Sep 24 17:12:34 2018
New Revision: 264539

URL: https://gcc.gnu.org/viewcvs?rev=264539&root=gcc&view=rev
Log:
2018-09-24  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/87397
        * gfc_conv_procedure_call: Do not add clobber on INTENT(OUT)
        for variables in an associate statement.

2018-09-24  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/87401
        * gfortran.dg/intent_out_12.f90: New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/intent_out_12.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-expr.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list