[patch, fortran] PR35724 compile time segmentation fault for eoshift

Jerry DeLisle jvdelisle@verizon.net
Thu Apr 17 08:25:00 GMT 2008


This patch fixes the same problem we had with cshift.

Regression tested on x86-64.

Will commit as obvious.

Jerry

2008-04-16  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/35724
	* iresolve.c (gfc_resolve_eoshift): Check for NULL symtree in test for
	optional argument attribute.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eoshift_2.f90
Type: text/x-fortran
Size: 347 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20080417/31b4058f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: submit.diff
Type: text/x-patch
Size: 560 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20080417/31b4058f/attachment-0001.bin>


More information about the Fortran mailing list