This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++, java, objc] PR 18071
- From: Ian Lance Taylor <iant at google dot com>
- To: Jan Hubicka <jh at suse dot cz>
- Cc: gcc-patches at gcc dot gnu dot org, mark at codesourcery dot com
- Date: Wed, 17 Sep 2008 07:46:37 -0700
- Subject: Re: [C++, java, objc] PR 18071
- References: <20080907093651.GC6529@kam.mff.cuni.cz>
Jan Hubicka <jh@suse.cz> writes:
> * tree.h (DECL_INLINE): remove.
> (DECL_DECLARED_INLINE_P): Update docs.
> (DECL_NO_INLINE_WARNING_P): new.
> (tree_function_decl): Replace inline_flag by no_inline_warning_flag.
> * tree-inline.c (inlinable_function_p): Set DECL_NO_INLINE_WARNING_P.
>
> Java:
> * class.c (add_method_1): Do not initialize DECL_INLINE.
> (make_local_function_alias): Likewise.
> * expr.c (rewrite_arglist_getcaller): Set DECL_UNINLINABLE.
> * lang.c (java_decl_ok_for_sibcall): Use DECL_UNINLINABLE.
>
> Objc:
> * objc/objc-act.c (objc_finish_method_definition): Do not set DECL_INLINE.
>
> C++:
> * cp/decl.c (start_method): Set DECL_NO_INLINE_WARNING_P.
This is OK.
Thanks.
Ian