gcc/libgfortran
Francois-Xavier Coudert f1412ca58a re PR fortran/31304 (REPEAT argument NCOPIES is not converted as it should)
PR fortran/31304

	* fortran/gfortran.h (gfc_charlen_int_kind): New prototype.
	* fortran/trans-types.c (gfc_charlen_int_kind): New variable.
	(gfc_init_types): Define gfc_charlen_int_kind. 
	* fortran/trans.h (gfor_fndecl_string_repeat): Remove prototype.
	* fortran/trans-decl.c (gfor_fndecl_string_repeat): Delete.
	(gfc_build_intrinsic_function_decls): Don't set
	gfor_fndecl_string_repeat.
	* fortran/trans-intrinsic.c (gfc_conv_intrinsic_repeat): Rewrite
	so that we don't have to call a library function.
	* fortran/simplify.c (gfc_simplify_repeat): Perform the necessary
	checks on the NCOPIES argument, and work with arbitrary size
	arguments.

	* intrinsics/string_intrinsics.c (string_repeat): Remove.

	* gfortran.dg/repeat_2.f90: New test.
	* gfortran.dg/repeat_3.f90: New test.
	* gfortran.dg/repeat_4.f90: New test.

From-SVN: r123481
2007-04-03 21:05:14 +00:00
..
config fpu-387.h: Use previously added SSE code in all cases, as it really is the right thing to do. 2006-04-01 21:24:24 +00:00
generated re PR fortran/30981 ([4.1 only] a ** exp fails for integer exponents if exp is "-huge()-1" (endless loop)) 2007-03-04 08:03:34 +00:00
intrinsics re PR fortran/31304 (REPEAT argument NCOPIES is not converted as it should) 2007-04-03 21:05:14 +00:00
io re PR libfortran/31052 ([4.2 only] Bad IOSTAT values when readings NAMELISTs past EOF) 2007-04-01 17:32:20 +00:00
m4 re PR libfortran/30690 ([4.2, 4.1 only] Clean up m4 files) 2007-03-14 19:26:38 +00:00
runtime * runtime/main.c: Include "config.h" first. 2007-03-16 11:50:19 -04:00
ChangeLog re PR fortran/31304 (REPEAT argument NCOPIES is not converted as it should) 2007-04-03 21:05:14 +00:00
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006 Rotate ChangeLog 2007-01-01 19:17:50 +00:00
Makefile.am gfortran.h (gfc_option_t): Add flag_backtrace field. 2007-03-15 12:39:47 +00:00
Makefile.in gfortran.h (gfc_option_t): Add flag_backtrace field. 2007-03-15 12:39:47 +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 re PR libfortran/29810 (Unsatisfied symbol "fmodl" in libgfortran shared library) 2006-12-06 21:49:55 +00:00
config.h.in re PR libfortran/31335 (Calls lstat(), stat() and fstat() in libgfortran should be protected by autoconf HAVE_{L,,F}STAT macros) 2007-03-31 19:41:11 +00:00
configure re PR libfortran/31335 (Calls lstat(), stat() and fstat() in libgfortran should be protected by autoconf HAVE_{L,,F}STAT macros) 2007-03-31 19:41:11 +00:00
configure.ac re PR libfortran/31335 (Calls lstat(), stat() and fstat() in libgfortran should be protected by autoconf HAVE_{L,,F}STAT macros) 2007-03-31 19:41:11 +00:00
configure.host
fmain.c gfortran.h (gfc_option_t): Add flag_backtrace field. 2007-03-15 12:39:47 +00:00
libgfortran.h gfortran.h (gfc_option_t): Add flag_backtrace field. 2007-03-15 12:39:47 +00:00
libtool-version re PR libfortran/27107 (Make dependency on io/io.h broken) 2007-01-17 19:44:00 +00:00
mk-kinds-h.sh
mk-sik-inc.sh
mk-srk-inc.sh