[PATCH] Initialize void_list_node
Jakub Jelinek
jakub@redhat.com
Tue Oct 11 22:32:00 GMT 2005
On Wed, Oct 12, 2005 at 12:16:00AM +0200, Steven Bosscher wrote:
> Hi Jakubm
>
> If this node is necessary for the builtins, why don't you let it be
> built in
> build_common_tree_nodes or build_common_tree_nodes_2?
Sorry, I have already committed the patch. Note that in the cases I was
looking at it isn't about void_list_node use in the middle-end, but explicit
use of void_list_node in f95-lang.c.
Looking at it, it seems void_list_node used to be originally a c-common.c
only tree and only later its used has been extended into tree.c and
a few others. I don't actualy see a reason why it couldn't be initialized
in build_common_tree_nodes_2 right after void_type_node initialization
(and in java frontend which doesn't call build_common_tree_nodes_2),
but am not sure if such a cleanup patch would be acceptable for 4.1.
I'll write a patch tomorrow, worst case it will be for 4.2...
Jakub
More information about the Fortran
mailing list