gcc/libgfortran/intrinsics
Francois-Xavier Coudert a14fb6faeb re PR fortran/30611 ([4.1 only] Confusing error message for negative ncopies in REPEAT)
PR fortran/30611

	* trans-intrinsic.c (gfc_conv_intrinsic_repeat): Evaluate
	arguments only once. Generate check that NCOPIES argument is not
	negative.

	* intrinsics/string_intrinsics.c (string_repeat): Don't check
	if ncopies is negative.

	* gcc/testsuite/gfortran.dg/repeat_1.f90: New test.

From-SVN: r121581
2007-02-04 21:33:10 +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
associated.c associated.c: Check for associated(NULL,NULL). 2006-12-17 19:00:46 +01:00
c99_functions.c re PR libfortran/29810 (Unsatisfied symbol "fmodl" in libgfortran shared library) 2006-12-06 21:49:55 +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/30015 ([4.1 only] Intrinsic date_and_time can go back in time) 2007-01-21 17:16:10 +01:00
dprod_r8.f90 gfortran.h (gfc_options_t): Add flag_allow_leading_underscore. 2007-01-20 18:33:20 +00:00
env.c
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
etime.c etime.c: Remove etime_ 2006-07-15 16:12:15 +00:00
exit.c
f2c_specifics.F90 gfortran.h (gfc_options_t): Add flag_allow_leading_underscore. 2007-01-20 18:33:20 +00:00
fnum.c ierrno.c: Don't include "io/io.h". 2006-06-24 12:34:51 +00:00
gerror.c
getXid.c
getcwd.c
getlog.c
hostnm.c
ierrno.c ierrno.c: Don't include "io/io.h". 2006-06-24 12:34:51 +00:00
ishftc.c
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
selected_int_kind.f90 gfortran.h (gfc_options_t): Add flag_allow_leading_underscore. 2007-01-20 18:33:20 +00:00
selected_real_kind.f90 gfortran.h (gfc_options_t): Add flag_allow_leading_underscore. 2007-01-20 18:33:20 +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
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/30611 ([4.1 only] Confusing error message for negative ncopies in REPEAT) 2007-02-04 21:33:10 +00:00
symlnk.c ierrno.c: Don't include "io/io.h". 2006-06-24 12:34:51 +00:00
system.c
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
umask.c
unlink.c
unpack_generic.c in_pack.m4: Fixed a typo. 2006-10-18 19:17:49 +02:00