This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, fortran] PR 32909 Replace gfc_c_int_type_node with integer_type_node


this is yet another obvious patch which I intend to commit in 24h, barring objections. In many places in the frontend we were creating a tree gfc_c_int_type_node to represent a C int. This is unnecessary, since the middle-end already defines such a tree, integer_type_node, which fwiw was already used in some places in gfortran.

Looks OK to me; I do remember introducing some of these occurences of gfc_c_int_type_node myself! :-)



2007-07-27 Janne Blomqvist <jb@gcc.gnu.org>

	PR fortran/32909
	* trans-stmt.c (gfc_trans_character_select): Replace occurrences
	of gfc_c_int_type_node with integer_type_node.
	* trans-decl.c (gfc_build_intrinsic_function_decls): Likewise.
	(gfc_build_builtin_function_decls): Likewise.
	(gfc_generate_function_code): Likewise.
	* trans-io.c (gfc_build_io_library_fndecls): Likewise.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]