[Patch, fortran] PR56477 ICE on pointer assignment checking

Mikael Morin mikael.morin@sfr.fr
Sun Mar 3 18:42:00 GMT 2013


Hello,

I'm testing the attached patch which fixes the PR56477 test case.

Will commit as obvious tonight.

Mikael


-------------- next part --------------
2013-03-03  Mikael Morin  <mikael@gcc.gnu.org>

	PR fortran/56477
	* expr.c (gfc_check_pointer_assign): Avoid NULL pointer dereference.

2013-03-03  Mikael Morin  <mikael@gcc.gnu.org>

	PR fortran/56477
	* gfortran.dg/pointer_check_13.f90: New test.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr56477.patch
Type: text/x-patch
Size: 664 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130303/67032dee/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pointer_check_13.f90
Type: text/x-fortran
Size: 349 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130303/67032dee/attachment-0001.bin>


More information about the Gcc-patches mailing list