[PATCH] Fix for PR fortran/21375
Tobias Schlüter
tobias.schlueter@physik.uni-muenchen.de
Sat Jun 11 13:26:00 GMT 2005
Tobias Schlüter wrote:
> We should
> probably add a global variable gfc_pint4_type_node for this along the other
> type nodes, and move that code out of gfc_build_io_library_fndecls, but I'm
> fine if you put it in a local variable.
Oh, I misremembered, actually gfc_int4_type_node is not global either. Only
the following are:
extern GTY(()) tree gfc_array_index_type;
extern GTY(()) tree gfc_character1_type_node;
extern GTY(()) tree ppvoid_type_node;
extern GTY(()) tree pvoid_type_node;
extern GTY(()) tree pchar_type_node;
So making it a local variable is completely fine.
Thanks,
- Tobi
More information about the Fortran
mailing list