]>
git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR fortran/81770 (Bogus warning: Pointer in pointer assignment might outlive the pointer target)
2017-09-02 Janus Weil <janus@gcc.gnu.org>
Backport from trunk
PR fortran/81770
* expr.c (gfc_check_pointer_assign): Improve the check whether pointer
may outlive pointer target.
2017-09-02 Janus Weil <janus@gcc.gnu.org>
Backport from trunk
PR fortran/81770
* gfortran.dg/warn_target_lifetime_3.f90: Fix a typo.
* gfortran.dg/warn_target_lifetime_4.f90: New testcase.
From-SVN: r251620