gcc/libgfortran/m4
Thomas Koenig c2b00cdcaa 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
2008-08-14 18:31:32 +00:00
..
all.m4 re PR libfortran/34671 (any(kind=1) and all(kind=1)) 2008-01-15 21:22:07 +00:00
any.m4 re PR libfortran/34671 (any(kind=1) and all(kind=1)) 2008-01-15 21:22:07 +00:00
count.m4 re PR libfortran/34671 (any(kind=1) and all(kind=1)) 2008-01-15 21:22:07 +00:00
cshift0.m4 re PR libfortran/36886 (misaligment for cshift of character) 2008-08-14 18:31:32 +00:00
cshift1.m4 re PR libfortran/36773 (zero-sized arrays with cshift and eoshift) 2008-07-21 10:05:32 +00:00
eoshift1.m4 re PR libfortran/36773 (zero-sized arrays with cshift and eoshift) 2008-07-21 10:05:32 +00:00
eoshift3.m4 re PR libfortran/36773 (zero-sized arrays with cshift and eoshift) 2008-07-21 10:05:32 +00:00
exponent.m4
fraction.m4
head.m4
iforeach.m4 in_pack.m4 (internal_pack_'rtype_code`): Destination pointer is restrict. 2008-05-18 20:39:04 +00:00
ifunction.m4 re PR fortran/35995 (ANY, ALL, and COUNT errors for zero sized sections) 2008-05-04 19:07:28 +00:00
ifunction_logical.m4 re PR fortran/36518 (libgfortran: "warning: format '%d' expects type 'int', but") 2008-06-13 20:43:25 +02:00
in_pack.m4 in_pack.m4 (internal_pack_'rtype_code`): Destination pointer is restrict. 2008-05-18 20:39:04 +00:00
in_unpack.m4 in_pack.m4 (internal_pack_'rtype_code`): Destination pointer is restrict. 2008-05-18 20:39:04 +00:00
iparm.m4 re PR libfortran/34670 (bounds checking for array intrinsics) 2008-01-11 20:21:05 +00:00
matmul.m4 re PR fortran/36341 (MATMUL: Bounds check missing) 2008-07-07 19:43:33 +00:00
matmull.m4 re PR fortran/36341 (MATMUL: Bounds check missing) 2008-07-07 19:43:33 +00:00
maxloc0.m4
maxloc1.m4
maxval.m4
minloc0.m4
minloc1.m4
minval.m4
misc_specifics.m4
mtype.m4
nearest.m4
pack.m4 in_pack.m4 (internal_pack_'rtype_code`): Destination pointer is restrict. 2008-05-18 20:39:04 +00:00
pow.m4
product.m4
reshape.m4 re PR fortran/35960 (run time abort with assignment of RESHAPEd zero sized array) 2008-04-25 20:11:19 +00:00
rrspacing.m4
set_exponent.m4
shape.m4 re PR libfortran/35001 (shape for negative sizes) 2008-02-02 13:50:55 +00:00
spacing.m4
specific.m4
specific2.m4
spread.m4 in_pack.m4 (internal_pack_'rtype_code`): Destination pointer is restrict. 2008-05-18 20:39:04 +00:00
sum.m4
transpose.m4 in_pack.m4 (internal_pack_'rtype_code`): Destination pointer is restrict. 2008-05-18 20:39:04 +00:00
types.m4
unpack.m4 in_pack.m4 (internal_pack_'rtype_code`): Destination pointer is restrict. 2008-05-18 20:39:04 +00:00