Another inliner patch

Kaveh R. Ghazi ghazi@caip.rutgers.edu
Tue Oct 15 11:57:00 GMT 2002


Andrew,

This patch:

 >     * tree-inline.c (remap_block): All local class initialization
 >     flags go in the outermost scope.
 >     (expand_call_inline): Call java_inlining_map_static_initializers.
 >     (expand_call_inline): Call
 >     java_inlining_merge_static_initializers.
 > 
 > 
 >     * java/lang.c (merge_init_test_initialization): New.
 >     (java_inlining_merge_static_initializers): New.
 >     (inline_init_test_initialization): New.
 >     (java_inlining_map_static_initializers): New.

introduced four new warning regressions.

 > java/lang.c:995: warning: function declaration isn't a prototype
 > java/lang.c:1036: warning: function declaration isn't a prototype
 > tree-inline.c:1201: warning: implicit declaration of function `java_inlining_map_static_initializers'
 > tree-inline.c:1250: warning: implicit declaration of function `java_inlining_merge_static_initializers'

Would you please fix it?

		Thanks,
		--Kaveh

PS: Geoff, more fodder for the automated warning regression checker. :-)

--
Kaveh R. Ghazi			ghazi@caip.rutgers.edu



More information about the Java mailing list