]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR libfortran/36886 (misaligment for cshift of character)
authorThomas Koenig <tkoenig@gcc.gnu.org>
Thu, 14 Aug 2008 18:31:32 +0000 (18:31 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Thu, 14 Aug 2008 18:31:32 +0000 (18:31 +0000)
commitc2b00cdcaaef76f88c770351803dcb7040338d58
tree85eb8b641f01c373a1ab8b4253e57f255f52349f
parent6eefb96d4696ef15f07639bb232c1d3acfb20ea9
re PR libfortran/36886 (misaligment for cshift of character)

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.

From-SVN: r139111
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]