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
generated
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
acinclude.m4
aclocal.m4
c99_protos.h
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
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
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
mk-kinds-h.sh
mk-sik-inc.sh
mk-srk-inc.sh