[Bug libfortran/21127] reshape of complex broken

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed May 18 20:24:00 GMT 2005


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-05-18 20:24 -------
Subject: Bug 21127

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	tkoenig@gcc.gnu.org	2005-05-18 20:24:33

Modified files:
	libgfortran    : ChangeLog 
	gcc/fortran    : ChangeLog iresolve.c 
	gcc/testsuite  : ChangeLog 
	libgfortran/m4 : iparm.m4 reshape.m4 
Added files:
	libgfortran/generated: reshape_c4.c reshape_c8.c 
	gcc/testsuite/gfortran.dg: reshape-complex.f90 

Log message:
	2005-05-18  Thomas Koenig  <Thomas.Koenig@online.de>
	
	PR libfortran/21127
	* Makefile.am:  Add generated/reshape_c4.c and
	generated/reshape_c8.c.
	* Makefile.in:  Regenerated.
	* m4/iparm.m4:  Define rtype_ccode to be c4 or c8 for
	complex types, 4 or 8 otherwise.
	* m4/reshape.m4:  Use rtype_ccode instead of rtype_kind
	in function name.
	* generated/reshape_c4.c: New file.
	* generated/reshape_c8.c: New file.
	
	2005-05-18  Thomas Koenig  <Thomas.Koenig@online.de>
	
	PR libfortran/21127
	* fortran/iresolve.c (gfc_resolve_reshape): Add
	gfc_type_letter (BT_COMPLEX) for complex to
	to resolved function name.
	
	2005-05-18  Thomas Koenig  <Thomas.Koenig@online.de>
	
	PR libfortran/21127
	* gfortran.dg/reshape-complex.f90:  New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gcc&r1=1.223&r2=1.224
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/generated/reshape_c4.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/generated/reshape_c8.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&r1=1.430&r2=1.431
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/iresolve.c.diff?cvsroot=gcc&r1=1.33&r2=1.34
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5492&r2=1.5493
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/reshape-complex.f90.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/m4/iparm.m4.diff?cvsroot=gcc&r1=1.4&r2=1.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/m4/reshape.m4.diff?cvsroot=gcc&r1=1.8&r2=1.9



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21127



More information about the Gcc-bugs mailing list