gcc/libgfortran/intrinsics
Thomas Koenig 19b76346c0 re PR fortran/49479 (reshape / optionals / zero sized arrays)
2011-06-28  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/49479
	* m4/reshape.m4: If source allocation is smaller than one, set it
	to one.
	* intrinsics/reshape_generic.c:  Likewise.
	* generated/reshape_r16.c: Regenerated.
	* generated/reshape_c4.c: Regenerated.
	* generated/reshape_c16.c: Regenerated.
	* generated/reshape_c8.c: Regenerated.
	* generated/reshape_r4.c: Regenerated.
	* generated/reshape_i4.c: Regenerated.
	* generated/reshape_r10.c: Regenerated.
	* generated/reshape_r8.c: Regenerated.
	* generated/reshape_c10.c: Regenerated.
	* generated/reshape_i8.c: Regenerated.
	* generated/reshape_i16.c: Regenerated.

2011-06-28  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/49479
	* gfortran.dg/reshape_zerosize_3.f90:  New test.

From-SVN: r175594
2011-06-28 18:59:04 +00:00
..
abort.c PR 48915 Abort handling 2011-05-14 11:44:09 +03:00
access.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
args.c transfer.c: Update copyright. 2010-04-01 18:22:00 +00:00
associated.c re PR fortran/37577 ([meta-bug] change internal array descriptor format for better syntax, C interop TR, rank 15) 2009-06-21 19:24:55 +00:00
bit_intrinsics.c re PR fortran/40019 (LEADZ and TRAILZ give wrong results) 2009-05-29 23:27:54 +02:00
c99_functions.c re PR libfortran/47830 (errors in intrinsics/c99_functions.c) 2011-02-22 13:37:12 +01:00
chdir.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
chmod.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
clock.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
cpu_time.c Use clock_gettime in libgfortran timing intrinsics, cleanup 2011-01-31 22:52:00 +02:00
cshift0.c Cleanup memsize types 2011-04-12 22:27:49 +03:00
ctime.c PR 47802 Use builtins to check localtime_r return type 2011-03-04 21:07:49 +02:00
date_and_time.c Replace sprintf with snprintf 2011-04-16 20:43:03 +03:00
dprod_r8.f90 Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
dtime.c Use clock_gettime in libgfortran timing intrinsics, cleanup 2011-01-31 22:52:00 +02:00
env.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
eoshift0.c [multiple changes] 2009-07-19 15:07:21 +00:00
eoshift2.c [multiple changes] 2009-07-19 15:07:21 +00:00
erfc_scaled.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
erfc_scaled_inc.c Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
etime.c Use clock_gettime in libgfortran timing intrinsics, cleanup 2011-01-31 22:52:00 +02:00
execute_command_line.c re PR libfortran/48961 (EXECUTE_COMMAND_LINE(WAIT=.false.) fails on MinGW) 2011-05-14 08:35:18 +02:00
exit.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
extends_type_of.c backport: re PR fortran/42053 ([OOP] SELECT TYPE: reject duplicate CLASS IS blocks) 2009-11-30 21:43:06 +01:00
f2c_specifics.F90 Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
fnum.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gerror.c PR 46267 strerror thread safety 2011-01-22 00:42:17 +02:00
getXid.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
getcwd.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
getlog.c PR 47802 Test for POSIX getpwuid_r 2011-02-24 16:51:17 +02:00
hostnm.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
ierrno.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
ishftc.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
iso_c_binding.c Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
iso_c_binding.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
iso_c_generated_procs.c Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
kill.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
link.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
malloc.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
move_alloc.c remove useless if-before-free tests 2011-04-20 18:19:03 +00:00
mvbits.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
pack_generic.c Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
perror.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
rand.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
random.c Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
rename.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
reshape_generic.c re PR fortran/49479 (reshape / optionals / zero sized arrays) 2011-06-28 18:59:04 +00:00
reshape_packed.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
selected_char_kind.c Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
selected_int_kind.f90 Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
selected_real_kind.f90 intrinsic.h (gfc_check_selected_real_kind, [...]): Update prototypes. 2010-06-25 21:40:37 +02:00
signal.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
size.c re PR fortran/37577 ([meta-bug] change internal array descriptor format for better syntax, C interop TR, rank 15) 2009-06-21 19:24:55 +00:00
sleep.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
spread_generic.c Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
stat.c re PR fortran/37577 ([meta-bug] change internal array descriptor format for better syntax, C interop TR, rank 15) 2009-06-21 19:24:55 +00:00
string_intrinsics.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
string_intrinsics_inc.c string_intrinsics_inc.c (string_len_trim): Use __INTPTR_TYPE__ to cast from pointer to scalar integer... 2009-08-14 21:30:13 +02:00
symlnk.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
system.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
system_clock.c PR 47571 Fix bootstrap regression on alpha-dec-osf 2011-04-15 07:21:19 +03:00
time.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
time_1.h PR 47802 Use strftime for CTIME and FDATE intrinsics 2011-02-24 23:51:39 +02:00
transpose_generic.c re PR fortran/37577 ([meta-bug] change internal array descriptor format for better syntax, C interop TR, rank 15) 2009-06-21 19:24:55 +00:00
umask.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
unlink.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
unpack_generic.c Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00