gcc/libgfortran
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
..
config
generated gfortran.h (gfc_options_t): Add flag_allow_leading_underscore. 2007-01-20 18:33:20 +00:00
intrinsics re PR fortran/30611 ([4.1 only] Confusing error message for negative ncopies in REPEAT) 2007-02-04 21:33:10 +00:00
io re PR fortran/30284 ([4.1 only] ICE in gfc_add_modify with internal reads) 2007-02-02 12:35:57 +00:00
m4 gfortran.h (gfc_options_t): Add flag_allow_leading_underscore. 2007-01-20 18:33:20 +00:00
runtime * runtime/error.c: Include sys/time.h before sys/resource.h. 2007-01-21 21:04:53 +00:00
acinclude.m4 re PR libfortran/30015 ([4.1 only] Intrinsic date_and_time can go back in time) 2007-01-21 17:16:10 +01:00
aclocal.m4 re PR libfortran/27107 (Make dependency on io/io.h broken) 2007-01-17 22:14:48 +00:00
c99_protos.h
ChangeLog re PR fortran/30611 ([4.1 only] Confusing error message for negative ncopies in REPEAT) 2007-02-04 21:33:10 +00:00
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
config.h.in re PR libfortran/30015 ([4.1 only] Intrinsic date_and_time can go back in time) 2007-01-21 17:16:10 +01:00
configure re PR libfortran/30015 ([4.1 only] Intrinsic date_and_time can go back in time) 2007-01-21 17:16:10 +01:00
configure.ac re PR libfortran/30015 ([4.1 only] Intrinsic date_and_time can go back in time) 2007-01-21 17:16:10 +01:00
configure.host
fmain.c
libgfortran.h re PR libfortran/30007 (libgfortran doesn't build for sh-elf) 2007-02-04 10:30:17 +00:00
libtool-version
Makefile.am gfortran.h (gfc_options_t): Add flag_allow_leading_underscore. 2007-01-20 18:33:20 +00:00
Makefile.in gfortran.h (gfc_options_t): Add flag_allow_leading_underscore. 2007-01-20 18:33:20 +00:00
mk-kinds-h.sh
mk-sik-inc.sh
mk-srk-inc.sh