[Bug fortran/83344] Use of uninitialized memory with ASSOCIATE and strings
pault at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 28 17:37:00 GMT 2018
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
More information about the Gcc-bugs
mailing list