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: Possible patch for tree-optimization/13000


On Wed, Jan 19, 2005 at 10:49:32AM -0500, Ian Lance Taylor wrote:
> 	* tree-inline.c: Include "tree-flow.h".
> 	(expand_call_inline): If warn_return_type, warn if non-void inline
> 	function falls through.
> 	* tree-cfg.c (execute_warn_function_return): Don't warn about
> 	control reaching end if TREE_NO_WARNING is set.  Set
> 	TREE_NO_WARNING.

Yes, this is about as good as we'll be able to do for 4.0.

Thanks.


r~


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