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
access.c
args.c
associated.c
c99_functions.c
chdir.c
chmod.c
clock.c
cpu_time.c
cshift0.c
ctime.c
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
env.c
eoshift0.c
eoshift2.c
etime.c
exit.c
f2c_specifics.F90
fnum.c
gerror.c
getcwd.c
getlog.c
getXid.c
hostnm.c
ierrno.c
ishftc.c
kill.c
link.c
malloc.c
move_alloc.c
mvbits.c
pack_generic.c
perror.c
rand.c
random.c
rename.c
reshape_generic.c
reshape_packed.c
selected_int_kind.f90
selected_real_kind.f90
signal.c
size.c
sleep.c
spread_generic.c
stat.c
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
system_clock.c
system.c
time.c
transpose_generic.c
umask.c
unlink.c
unpack_generic.c