[patch, fortran] PR18923 segfault after subroutine name confusion

Jerry DeLisle jvdelisle@verizon.net
Sat May 19 00:24:00 GMT 2007


:ADDPATCH fortran:

This patch is self explanatory and eliminates the segfault for two test cases 
given.  Regression tested on x86-64-gnu-linux.

OK for trunk and later 4.2.1

Regards,

Jerry

2007-05-18  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/18923
	* resolve.c (resolve_function): Don't call resolve_global_procedure if
	there is no name. Delete duplicated statement in ELSE clause.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr18923.diff
Type: text/x-patch
Size: 1269 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20070519/79634d40/attachment.bin>


More information about the Fortran mailing list