summaryrefslogtreecommitdiff
path: root/libgfortran/gfortran.map
diff options
context:
space:
mode:
authorfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>2007-08-06 20:47:17 +0000
committerfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>2007-08-06 20:47:17 +0000
commit5fcc6ec223fed0d7dcd200bd3ee08ef6ae1c4965 (patch)
tree2abbc1521f7910f2a1dce1f5f9199ff847083230 /libgfortran/gfortran.map
parent0f2457b8d9212d7a56979ee0217b69466b2d31cc (diff)
downloadgcc-5fcc6ec223fed0d7dcd200bd3ee08ef6ae1c4965.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127252 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/gfortran.map')
-rw-r--r--libgfortran/gfortran.map1
1 files changed, 1 insertions, 0 deletions
diff --git a/libgfortran/gfortran.map b/libgfortran/gfortran.map
index c16dd1eee33..ed881ebfbcc 100644
--- a/libgfortran/gfortran.map
+++ b/libgfortran/gfortran.map
@@ -941,6 +941,7 @@ GFORTRAN_1.0 {
_gfortran_st_rewind;
_gfortran_string_index;
_gfortran_string_len_trim;
+ _gfortran_string_minmax;
_gfortran_string_scan;
_gfortran_string_trim;
_gfortran_string_verify;