gcc/libgfortran
Francois-Xavier Coudert 2263c77558 re PR fortran/29828 ([F2003] MIN and MAX with character variables)
PR fortran/29828

	* trans.h (gfor_fndecl_string_minmax): New prototype.
	* trans-decl.c (gfor_fndecl_string_minmax): New variable.
	(gfc_build_intrinsic_function_decls): Create gfor_fndecl_string_minmax.
	* check.c (gfc_check_min_max): Allow for character arguments.
	* trans-intrinsic.c (gfc_conv_intrinsic_minmax_char): New function.
	(gfc_conv_intrinsic_function): Add special case for MIN and MAX
	intrinsics with character arguments.
	* simplify.c (simplify_min_max): Add simplification for character
	arguments.

	* intrinsics/string_intrinsics.c (string_minmax): New function
	and prototype.
	* gfortran.map (GFORTRAN_1.0): Add _gfortran_string_minmax

	* gfortran.dg/minmax_char_1.f90: New test.
	* gfortran.dg/minmax_char_2.f90: New test.
	* gfortran.dg/min_max_optional_4.f90: New test.

From-SVN: r127252
2007-08-06 20:47:17 +00:00
..
config cpu_time.c: Don't include headers already included by libgfortran.h. 2007-04-06 16:47:23 +00:00
generated re PR libfortran/32336 (matmul: flag runtime- instead of assertation error) 2007-07-09 22:34:43 +00:00
intrinsics re PR fortran/29828 ([F2003] MIN and MAX with character variables) 2007-08-06 20:47:17 +00:00
io re PR libfortran/32977 (All gfortran tests fail on Tru64 UNIX V4.0F: vsnprintf missing) 2007-08-03 22:09:10 +00:00
m4 re PR libfortran/32336 (matmul: flag runtime- instead of assertation error) 2007-07-09 22:34:43 +00:00
runtime re PR libfortran/32858 (printf-capabilities for runtime_error()) 2007-07-29 20:01:45 +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 Regenerate aclocal.m4 in boehm-gc, libffi, libgfortran, libgomp, 2007-07-05 10:54:10 -07:00
c99_protos.h re PR fortran/31202 (Incorrect rounding generated for NINT) 2007-08-05 22:14:34 +00:00
ChangeLog re PR fortran/29828 ([F2003] MIN and MAX with character variables) 2007-08-06 20:47:17 +00:00
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004 re PR libfortran/31286 (cshift uses uninitialized variables) 2007-04-18 08:47:28 +00:00
ChangeLog-2005 re PR libfortran/31286 (cshift uses uninitialized variables) 2007-04-18 08:47:28 +00:00
ChangeLog-2006 re PR libfortran/31286 (cshift uses uninitialized variables) 2007-04-18 08:47:28 +00:00
config.h.in re PR fortran/31202 (Incorrect rounding generated for NINT) 2007-08-03 21:26:10 +00:00
configure re PR fortran/31202 (Incorrect rounding generated for NINT) 2007-08-03 21:26:10 +00:00
configure.ac re PR fortran/31202 (Incorrect rounding generated for NINT) 2007-08-03 21:26:10 +00:00
configure.host
fmain.c gfortran.h (gfc_option_t): Add flag_backtrace field. 2007-03-15 12:39:47 +00:00
gfortran.map re PR fortran/29828 ([F2003] MIN and MAX with character variables) 2007-08-06 20:47:17 +00:00
libgfortran.h * libgfortran.h: Include <stdarg.h>. 2007-07-30 13:02:50 +00:00
libtool-version
Makefile.am [multiple changes] 2007-07-02 02:47:21 +00:00
Makefile.in re PR fortran/31202 (Incorrect rounding generated for NINT) 2007-08-03 21:26:10 +00:00
mk-kinds-h.sh re PR fortran/32627 ([ISO Bind C] Accept c_f_pointer for TYPE) 2007-07-21 23:45:44 +00:00
mk-sik-inc.sh
mk-srk-inc.sh