Patch submission for -Wmissing-noreturn

Jeffrey A Law law@cygnus.com
Mon Oct 19 20:37:00 GMT 1998


  In message < 199810161545.LAA21825@caip.rutgers.edu >you write:
  > 	Here is the final -Wmissing-noreturn patch.  It only gets
  > activated when asked for.  Ie not in -W -Wall.   Is this okay to install?
  > 
  > Tue Oct 13 23:10:58 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
  > 
  > 	* c-decl.c (warn_missing_noreturn): New global variable.
  > 	(c_decode_option): Check for new flags -W{no-}missing-noreturn.
  > 	(finish_function): Implement missing noreturn warning.
  > 
  > 	* c-tree.h (warn_missing_noreturn): Declare extern.
  > 
  > 	* invoke.texi: Document new flags.
  > 
  > 	* toplev.c (documented_lang_options): Add description.
This is fine.  Thanks!

jeff



More information about the Gcc-patches mailing list