[patch, fortran] PR31716 segfault with real array bounds

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


:ADDPATCH fortran:

This patch is self explanatory and eliminates this segfault on invalid code.

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/31716
	* array.c (spec_dimen_size): Test for correct BT_INTEGER type.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr31716.diff
Type: text/x-patch
Size: 731 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20070519/65d61e10/attachment.bin>


More information about the Fortran mailing list