This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Another inliner patch
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Cc: geoffk at apple dot com, java at gcc dot gnu dot org
- Date: Tue, 15 Oct 2002 14:57:45 -0400 (EDT)
- Subject: Re: Another inliner patch
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