r126978 - in /trunk: gcc/fortran/ChangeLog gcc/...

fxcoudert@gcc.gnu.org fxcoudert@gcc.gnu.org
Fri Jul 27 14:26:00 GMT 2007


Author: fxcoudert
Date: Fri Jul 27 14:26:43 2007
New Revision: 126978

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126978
Log:
	PR fortran/32035

	* trans-stmt.c (gfc_trans_character_select): Replace the
	mechanism with labels by a SWITCH_EXPR.
	* trans-decl.c (gfc_build_builtin_function_decls): Change
	return type for select_string.

	* runtime/select.c (select_string): Adjust prototype and function
	so that the return value is an integer, not a pointer.

	* gfortran.dg/select_char_1.f90: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/select_char_1.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-decl.c
    trunk/gcc/fortran/trans-stmt.c
    trunk/gcc/testsuite/ChangeLog
    trunk/libgfortran/ChangeLog
    trunk/libgfortran/runtime/select.c



More information about the Gcc-cvs mailing list