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
..
2006-05-27 10:11:29 +03:00
2006-06-24 12:34:51 +00:00
2006-10-18 19:17:49 +02:00
2006-10-18 19:17:49 +02:00
2006-10-18 19:17:49 +02:00
2006-07-15 16:12:15 +00:00
2006-06-24 12:34:51 +00:00
2006-06-24 12:34:51 +00:00
2006-06-24 12:34:51 +00:00
2006-06-24 12:34:51 +00:00
2006-10-08 16:21:55 +00:00
2006-06-24 12:34:51 +00:00
2006-06-24 12:34:51 +00:00
2006-06-24 12:34:51 +00:00
2006-06-24 12:34:51 +00:00
2006-06-24 12:34:51 +00:00
2006-10-18 19:17:49 +02:00