OSDN Git Service

2008-08-14 Thomas Koenig <tkoenig@gcc.gnu.org>
authortkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Aug 2008 18:31:32 +0000 (18:31 +0000)
committertkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Aug 2008 18:31:32 +0000 (18:31 +0000)
commit95f15c5be0c530535b82bfe418cf4c42c3a3158c
tree85eb8b641f01c373a1ab8b4253e57f255f52349f
parentd010953eebc456ca7654214131f6e4b9da8b1487
2008-08-14  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR libfortran/36886
* Makefile.am:  Added $(i_cshift0_c).
Added $(i_cshift0_c) to gfor_built_specific_src.
Add rule to build from cshift0.m4.
* Makefile.in:  Regenerated.
* libgfortran.h:  Addedd prototypes for cshift0_i1,
cshift0_i2, cshift0_i4, cshift0_i8, cshift0_i16,
cshift0_r4, cshift0_r8, cshift0_r10, cshift0_r16,
cshift0_c4, cshift0_c8, cshift0_c10, cshift0_c16.
Define Macros GFC_UNALIGNED_C4 and GFC_UNALIGNED_C8.
* intrinsics/cshift0.c:  Remove helper functions for
the innter shift loop.
(cshift0):  Call specific functions depending on type
of array argument.  Only call specific functions for
correct alignment for other types.
* m4/cshift0.m4:  New file.
* generated/cshift0_i1.c:  New file.
* generated/cshift0_i2.c:  New file.
* generated/cshift0_i4.c:  New file.
* generated/cshift0_i8:.c  New file.
* generated/cshift0_i16.c:  New file.
* generated/cshift0_r4.c:  New file.
* generated/cshift0_r8.c:  New file.
* generated/cshift0_r10.c:  New file.
* generated/cshift0_r16.c:  New file.
* generated/cshift0_c4.c:  New file.
* generated/cshift0_c8.c:  New file.
* generated/cshift0_c10.c:  New file.
* generated/cshift0_c16.c:  New file.

2008-08-14  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR libfortran/36886
* gfortran.dg/cshift_char_3.f90:  New test case.
* gfortran.dg/cshift_nan_1.f90:  New test case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139111 138bc75d-0d04-0410-961f-82ee72b054a4
22 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/char_cshift_3.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/cshift_nan_1.f90 [new file with mode: 0644]
libgfortran/ChangeLog
libgfortran/Makefile.am
libgfortran/Makefile.in
libgfortran/generated/cshift0_c10.c [new file with mode: 0644]
libgfortran/generated/cshift0_c16.c [new file with mode: 0644]
libgfortran/generated/cshift0_c4.c [new file with mode: 0644]
libgfortran/generated/cshift0_c8.c [new file with mode: 0644]
libgfortran/generated/cshift0_i1.c [new file with mode: 0644]
libgfortran/generated/cshift0_i16.c [new file with mode: 0644]
libgfortran/generated/cshift0_i2.c [new file with mode: 0644]
libgfortran/generated/cshift0_i4.c [new file with mode: 0644]
libgfortran/generated/cshift0_i8.c [new file with mode: 0644]
libgfortran/generated/cshift0_r10.c [new file with mode: 0644]
libgfortran/generated/cshift0_r16.c [new file with mode: 0644]
libgfortran/generated/cshift0_r4.c [new file with mode: 0644]
libgfortran/generated/cshift0_r8.c [new file with mode: 0644]
libgfortran/intrinsics/cshift0.c
libgfortran/libgfortran.h
libgfortran/m4/cshift0.m4 [new file with mode: 0644]