[Patch, Fortran] PR54301 - add warning for pointer might outlive its target

Thomas Koenig tkoenig@netcologne.de
Sun Aug 19 21:59:00 GMT 2012


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



More information about the Gcc-patches mailing list