This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch fortran] Fix PR 30865


:ADDPATCH fortran:

Hello world,

Paul T. posted a fix for PR 30865 in the PR itself, indicating
he couldn't do anything with this for a few weeks, so I am
submitting this for him.

A regression-test is currently underway on i686-pc-linux-gnu.
OK for trunk and 4.2 if this passes?

	Thomas

2007-02-24  Thomas Koenig  <Thomas.Koenig@online.de>
	    Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/30865
	* trans-intrinsic.c (gfc_conv_intrinsic_size):
	If dim is an optional argument, check for its
	presence and call size0 or size1, respectively.

2007-02-24  Thomas Koenig  <Thomas.Koenig@online.de>

	PR fortran/30865
	* size_optional_dim_1.f90:  New test.

Attachment: size_optional_dim_1.f90
Description: Text document

Attachment: size-diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]