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, libfortran] Fix for PR 21127, complex reshape


This fixes PR 21127.

Regression-tested on mainline.  OK for mainline?

WRT 4.0:  I am not sure what the policy for 4.0.1 is.  This patch
changes the library interface by removing reshape_4 and reshape_8
and replacing them with reshape_i4 and reshape_i8, respectively.

Is this OK (in principle, once regression tests pass) for 4.0?

2005-04-29  Thomas Koenig  <Thomas.Koenig@online.de>

	* fortran/iresolve.c (gfc_resolve_reshape): Add 
	gfc_type_letter (BT_COMPLEX) for complex and
	gfc_type_letter (BT_INTEGER) for integer, real or
	logical to resolved function name.

2005-04-29  Thomas Koenig  <Thomas.Koenig@online.de>

	* Makefile.am:  Add generated/reshape_c4.c and
	generated/reshape_c8.c.
	* Makefile.in:  Regenerated.
	* m4/reshape.m4:  Use rtype_code instead of rtype_kind
	in function name.
	* generated/reshape_i4.c: Regenerated.
	* generated/reshape_i8.c: Regenerated.
	* generated/reshape_c4.c: New file.
	* generated/reshape_c8.c: New file.
	
2005-04-29  Thomas Koenig  <Thomas.Koenig@online.de>

	* gfortran.dg/reshape-complex.f90:  New test.

Attachment: reshape-complex.diff
Description: Text document

Attachment: reshape-complex.f90
Description: Text document


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