2005-06-11 Thomas Koenig <Thomas.Koenig@onlinde.de>
PR libfortran/21333 * Makefile.am: Add in_pack_c4.c, in_pack_c8.c, in_unpack_c4.c and in_unpack_c8.c. * Makefile.in: Regenerate. * libgfortran.h: Declare internal_pack_c4, internal_pack_c8, internal_unpack_c4 and internal_unpack_c8. * m4/in_pack.m4: Use rtype_ccode insteald of rtype_kind in function name. Use sizeof (rtype_name) as size for memory allocation. * m4/in_unpack.m4: Use rtype_ccode insteald of rtype_kind in function name. Use sizeof (rtype_name) for calculation of sizes for memcpy. * runtime/in_pack_generic.c: For real, integer and logical call internal_pack_4 if size==4 and internal_pack_8 if size==8. For complex, call internal_pack_c4 if size==8 and internal_pack_c8 if size==16. * runtime/in_unpack_generic.c: For real, integer and logical call internal_unpack_4 if size==4 and internal_unpack_8 if size==8. For complex, call internal_unpack_c4 if size==8 and internal_unpack_c8 if size==16. * generated/in_pack_i4.c: Regenerated. * generated/in_pack_i8.c: Regenerated. * generated/in_unpack_i4.c: Regenerated. * generated/in_unpack_i8.c: Regenerated. * generated/in_pack_c4.c: New file. * generated/in_pack_c8.c: New file. * generated/in_unpack_c4.c: New file. * generated/in_unpack_c8.c: New file. 2005-05-11 Thomas Koenig <Thomas.Koenig@online.de> * gfortran.fortran-torture/execute/in-pack.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100842 138bc75d-0d04-0410-961f-82ee72b054a4
Showing
- gcc/testsuite/ChangeLog 4 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gfortran.fortran-torture/execute/in-pack.f90 92 additions, 0 deletionsgcc/testsuite/gfortran.fortran-torture/execute/in-pack.f90
- libgfortran/Makefile.am 6 additions, 2 deletionslibgfortran/Makefile.am
- libgfortran/Makefile.in 22 additions, 4 deletionslibgfortran/Makefile.in
- libgfortran/generated/in_pack_c4.c 123 additions, 0 deletionslibgfortran/generated/in_pack_c4.c
- libgfortran/generated/in_pack_c8.c 123 additions, 0 deletionslibgfortran/generated/in_pack_c8.c
- libgfortran/generated/in_pack_i4.c 1 addition, 1 deletionlibgfortran/generated/in_pack_i4.c
- libgfortran/generated/in_pack_i8.c 1 addition, 1 deletionlibgfortran/generated/in_pack_i8.c
- libgfortran/generated/in_unpack_c4.c 111 additions, 0 deletionslibgfortran/generated/in_unpack_c4.c
- libgfortran/generated/in_unpack_c8.c 111 additions, 0 deletionslibgfortran/generated/in_unpack_c8.c
- libgfortran/generated/in_unpack_i4.c 1 addition, 1 deletionlibgfortran/generated/in_unpack_i4.c
- libgfortran/generated/in_unpack_i8.c 1 addition, 1 deletionlibgfortran/generated/in_unpack_i8.c
- libgfortran/libgfortran.h 13 additions, 1 deletionlibgfortran/libgfortran.h
- libgfortran/m4/in_pack.m4 4 additions, 3 deletionslibgfortran/m4/in_pack.m4
- libgfortran/m4/in_unpack.m4 4 additions, 3 deletionslibgfortran/m4/in_unpack.m4
- libgfortran/runtime/in_pack_generic.c 29 additions, 6 deletionslibgfortran/runtime/in_pack_generic.c
- libgfortran/runtime/in_unpack_generic.c 31 additions, 8 deletionslibgfortran/runtime/in_unpack_generic.c
Loading
Please register or sign in to comment