[Patch, fortran] PR 32909 Replace gfc_c_int_type_node with integer_type_node

FX Coudert fxcoudert@gmail.com
Fri Jul 27 20:47:00 GMT 2007


> 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.



More information about the Fortran mailing list