This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, Fortran] PR54301 - add warning for pointer might outlive its target
- From: Thomas Koenig <tkoenig at netcologne dot de>
- To: fortran at gcc dot gnu dot org, gcc-patches <gcc-patches at gcc dot gnu dot org>, Tobias Burnus <burnus at net-b dot de>
- Date: Sun, 19 Aug 2012 23:59:07 +0200
- Subject: Re: [Patch, Fortran] PR54301 - add warning for pointer might outlive its target
- References: <50311112.3060908@net-b.de> <50313C4B.4040801@netcologne.de> <50313E08.6070600@net-b.de>
Hi Tobias,
Am 19.08.2012 21:19, schrieb Thomas Koenig:
Build and regtested on x86-64-gnu-linux.
OK for the trunk?
I would exclude pointers on the lhs of the pointer assignment,
I assume you mean RHS â excluding LHS pointers in pointer assignments is
kind of difficult ;-)
Sometimes I have a weak right-left weakness :-)
RHS pointers are excluded via:
...
There is no warning with the patch.
OK for trunk then. You'll find your patch no longer applies
cleanly, because I have changed the same spot(s) in invoke.texi
and gfortran.h with my recent commit, but I think you'll manage :-)
Thomas