[patch, fortran] Fix PR 62142
Thomas Koenig
tkoenig@netcologne.de
Fri Aug 15 21:20:00 GMT 2014
Hello world,
I committed the attached patch as obvious to trunk after regression
testing. It fixes the regression in the test case by adding
a NULL check to a pointer. Will commit to 4.9 soon.
Regards
Thomas
2014-08-15 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/62142
* trans-expr.c (is_runtime_conformable): Add NULL pointer check.
2014-08-15 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/62142
* gfortran.dg/realloc_on_assign_24.f90: New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p1.diff
Type: text/x-patch
Size: 849 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20140815/5b3ec0e8/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: realloc_on_assign_24.f90
Type: text/x-fortran
Size: 224 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20140815/5b3ec0e8/attachment-0001.bin>
More information about the Fortran
mailing list