This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++, java, objc] PR 18071


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]