gcc/libgfortran/intrinsics
Francois-Xavier Coudert 47c07d96b1 re PR libfortran/27895 (problem with RESHAPE and zero-sized arrays)
PR libfortran/27895

	* intrinsics/reshape_generic.c (reshape_internal): Fix so that it
	works correctly for zero-sized arrays.
	* m4/reshape.m4: Likewise.
	* generated/reshape_r16.c: Regenerate.
	* generated/reshape_c4.c: Regenerate.
	* generated/reshape_i4.c: Regenerate.
	* generated/reshape_c16.c: Regenerate.
	* generated/reshape_r10.c: Regenerate.
	* generated/reshape_r8.c: Regenerate.
	* generated/reshape_c10.c: Regenerate.
	* generated/reshape_c8.c: Regenerate.
	* generated/reshape_i8.c: Regenerate.
	* generated/reshape_i16.c: Regenerate.
	* generated/reshape_r4.c: Regenerate.

	* gcc/testsuite/gfortran.dg/zero_sized_1.f90: Uncomment checks
	for RESHAPE.

From-SVN: r118455
2006-11-03 11:51:09 +00:00
..
abort.c libgfortran ChangeLog: 2006-05-27 10:11:29 +03:00
access.c * intrinsics/access.c (access_func): Remove export directive. 2006-08-05 13:37:52 +00:00
args.c All files: Update FSF address. 2005-08-17 02:49:08 +00:00
associated.c associated (associated): Zero-sized arrays should not be reported as ASSOCIATED. 2006-05-25 12:47:08 +00:00
bessel.c * intrinsics/bessel.c: Add prototypes for all functions. 2006-08-12 07:30:04 +00:00
c99_functions.c hyper.c: Remove file. 2006-10-08 18:39:18 +00:00
chdir.c ierrno.c: Don't include "io/io.h". 2006-06-24 12:34:51 +00:00
chmod.c intrinsic.c (add_functions): Add ACCESS, CHMOD, RSHIFT, LSHIFT. 2006-07-30 20:48:00 +00:00
clock.c intrinsic.c (add_functions): Add INT2, SHORT, INT8, LONG, LSTAT, MCLOCK and MCLOCK8 intrinsic functions. 2006-07-26 11:58:48 +00:00
cpu_time.c in_pack.m4: Fixed a typo. 2006-10-18 19:17:49 +02:00
cshift0.c re PR libfortran/27895 (problem with RESHAPE and zero-sized arrays) 2006-10-19 21:48:50 +00:00
ctime.c intrinsic.c (add_functions): Add ctime and fdate intrinsics. 2005-11-06 10:17:04 +00:00
date_and_time.c re PR libfortran/29099 (secnds intrinsic gives wrong result) 2006-09-15 16:03:52 +00:00
dprod_r8.f90 All files: Update FSF address. 2005-08-17 02:49:08 +00:00
env.c All files: Update FSF address. 2005-08-17 02:49:08 +00:00
eoshift0.c in_pack.m4: Fixed a typo. 2006-10-18 19:17:49 +02:00
eoshift2.c in_pack.m4: Fixed a typo. 2006-10-18 19:17:49 +02:00
erf.c All files: Update FSF address. 2005-08-17 02:49:08 +00:00
etime.c etime.c: Remove etime_ 2006-07-15 16:12:15 +00:00
exit.c All files: Update FSF address. 2005-08-17 02:49:08 +00:00
f2c_specifics.F90 re PR fortran/16580 ([4.1 only] gfortran ICE on test g77.f-torture/execute/intrinsic77.f) 2006-10-07 13:34:16 +00:00
fget.c ftell.c (ftell, FTELL_SUB): Add unlock_unit call. 2005-11-28 08:16:33 +01:00
flush.c re PR fortran/14943 (read/write code generation is not thread safe) 2005-11-21 23:03:56 +01:00
fnum.c ierrno.c: Don't include "io/io.h". 2006-06-24 12:34:51 +00:00
ftell.c ftell.c (ftell, FTELL_SUB): Add unlock_unit call. 2005-11-28 08:16:33 +01:00
gerror.c All files: Update FSF address. 2005-08-17 02:49:08 +00:00
getXid.c re PR libfortran/24432 (Missing symbols) 2005-10-19 09:45:27 +00:00
getcwd.c All files: Update FSF address. 2005-08-17 02:49:08 +00:00
getlog.c re PR libfortran/23803 ([mingw32] getlog malfunction) 2005-09-25 21:02:17 +00:00
hostnm.c re PR libfortran/23803 ([mingw32] getlog malfunction) 2005-09-25 21:02:17 +00:00
ierrno.c ierrno.c: Don't include "io/io.h". 2006-06-24 12:34:51 +00:00
ishftc.c re PR libfortran/19308 (I/O library should support more real and integer kinds) 2005-10-03 07:22:20 +00:00
kill.c ierrno.c: Don't include "io/io.h". 2006-06-24 12:34:51 +00:00
link.c ierrno.c: Don't include "io/io.h". 2006-06-24 12:34:51 +00:00
malloc.c check.c (gfc_check_malloc, [...]): New functions. 2005-10-30 12:17:48 +00:00
move_alloc.c [multiple changes] 2006-10-08 16:21:55 +00:00
mvbits.c re PR libfortran/25577 (gfortran routine mvbits returns wrong answer.) 2006-02-08 00:52:37 +01:00
pack_generic.c re PR libfortran/27895 (problem with RESHAPE and zero-sized arrays) 2006-10-19 21:48:50 +00:00
perror.c ierrno.c: Don't include "io/io.h". 2006-06-24 12:34:51 +00:00
rand.c re PR libfortran/28452 (__gfortran_random_r10 not found) 2006-08-01 17:15:04 +00:00
random.c re PR libfortran/28452 (__gfortran_random_r10 not found) 2006-08-01 17:15:04 +00:00
rename.c ierrno.c: Don't include "io/io.h". 2006-06-24 12:34:51 +00:00
reshape_generic.c re PR libfortran/27895 (problem with RESHAPE and zero-sized arrays) 2006-11-03 11:51:09 +00:00
reshape_packed.c All files: Update FSF address. 2005-08-17 02:49:08 +00:00
selected_int_kind.f90 All files: Update FSF address. 2005-08-17 02:49:08 +00:00
selected_real_kind.f90 All files: Update FSF address. 2005-08-17 02:49:08 +00:00
signal.c re PR libfortran/26540 ([4.1 only] intrinsics/signal.c warnings) 2006-10-08 14:27:22 +00:00
size.c All files: Update FSF address. 2005-08-17 02:49:08 +00:00
sleep.c ierrno.c: Don't include "io/io.h". 2006-06-24 12:34:51 +00:00
spread_generic.c re PR libfortran/27895 (problem with RESHAPE and zero-sized arrays) 2006-10-19 21:48:50 +00:00
stat.c intrinsic.c (add_functions): Add INT2, SHORT, INT8, LONG, LSTAT, MCLOCK and MCLOCK8 intrinsic functions. 2006-07-26 11:58:48 +00:00
string_intrinsics.c re PR fortran/28163 (Calling libgfortran's copy_string is inefficient) 2006-07-12 15:11:11 +00:00
symlnk.c ierrno.c: Don't include "io/io.h". 2006-06-24 12:34:51 +00:00
system.c All files: Update FSF address. 2005-08-17 02:49:08 +00:00
system_clock.c re PR fortran/14943 (read/write code generation is not thread safe) 2005-11-21 23:03:56 +01:00
time.c ierrno.c: Don't include "io/io.h". 2006-06-24 12:34:51 +00:00
transpose_generic.c in_pack.m4: Add TODO comment about detecting temporaries... 2006-06-06 11:10:09 +03:00
tty.c ftell.c (ftell, FTELL_SUB): Add unlock_unit call. 2005-11-28 08:16:33 +01:00
umask.c All files: Update FSF address. 2005-08-17 02:49:08 +00:00
unlink.c All files: Update FSF address. 2005-08-17 02:49:08 +00:00
unpack_generic.c in_pack.m4: Fixed a typo. 2006-10-18 19:17:49 +02:00