diff options
author | Tobias Burnus <burnus@net-b.de> | 2012-08-20 21:49:46 +0200 |
---|---|---|
committer | Tobias Burnus <burnus@gcc.gnu.org> | 2012-08-20 21:49:46 +0200 |
commit | ed0ba472c654095656fe1da371ee1a710fce2cf0 (patch) | |
tree | 4f00eaee89fd24bfe17ce28b877ab8f4b661dab7 /libiberty/getcwd.c | |
parent | 07bc8ae8abd68eaf968f77f453e33ec60c371bb3 (diff) | |
download | gcc-ed0ba472c654095656fe1da371ee1a710fce2cf0.zip gcc-ed0ba472c654095656fe1da371ee1a710fce2cf0.tar.gz gcc-ed0ba472c654095656fe1da371ee1a710fce2cf0.tar.bz2 |
re PR fortran/54301 (Add optional warning if pointer assigning a local variable to a nonlocal pointer)
2012-08-20 Tobias Burnus <burnus@net-b.de>
PR fortran/54301
* expr.c (gfc_check_pointer_assign): Warn when a pointer,
which is a function result, might outlive its target.
2012-08-20 Tobias Burnus <burnus@net-b.de>
PR fortran/54301
* gfortran.dg/warn_target_lifetime_2.f90: New.
From-SVN: r190542
Diffstat (limited to 'libiberty/getcwd.c')
0 files changed, 0 insertions, 0 deletions