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: PATCH RFA: c99 inline patch for gcc 4.2


Ian Lance Taylor wrote:

> gcc/ChangeLog:
> 2007-03-11  Ian Lance Taylor  <iant@google.com>
> 
> 	* c.opt (fgnu89-inline): New option.
> 	* c-opts.c (c_common_post_options): Warn about -fno-gnu89-inline.
> 	* c-common.c (c_common_attributes): Add gnu_inline attribyte.
> 	(handle_gnu_inline_attribute): New static function.
> 	* c-decl.c (start_function): Warn if we see a non-static inline
> 	function in C99 mode.
> 	* c-cppbuiltin.c (c_cpp_builtins): Define __GNUC_GNU_INLINE__.
> 	* doc/invoke.texi (Option Summary): Mention -fgnu89-inline.
> 	(C Dialect Options): Document -fgnu89-inline.
> 	* doc/extend.texi (Function Attributes): Document gnu_inline.
> 	* doc/cpp.texi (Common Predefined Macros): Document
> 	__GNUC_GNU_INLINE__ and __GNUC_STDC_INLINE__.
> 
> gcc/testsuite/ChangeLog:
> 2007-03-11  Ian Lance Taylor  <iant@google.com>
> 
> 	* gcc.dg/inline-7.c: Add -fgnu89-inline.
> 	* gcc.dg/inline-13.c: New test.
> 	* gcc.dg/inline-17.c: New test.
> 	* gcc.dg/inline-18.c: New test.
> 	* gcc.dg/inline-19.c: New test.
> 	* gcc.dg/inline-21.c: New test.

OK for 4.2, thanks.

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


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