This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/83344] Use of uninitialized memory with ASSOCIATE and strings


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

--- Comment #14 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Wed Feb 28 17:36:20 2018
New Revision: 258076

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

        PR fortran/83901
        * trans-stmt.c (trans_associate_var): Make sure that the se
        expression is a pointer type before converting it to the symbol
        backend_decl type.

2018-02-28  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/83901
        * gfortran.dg/associate_37.f90: New test.

        PR fortran/83344
        * gfortran.dg/associate_36.f90: Add Steve Kargl as contributer.


Added:
    trunk/gcc/testsuite/gfortran.dg/associate_37.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-stmt.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/associate_36.f90

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]