This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH RFA: c99 inline patch for gcc 4.2
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: gcc-patches at gcc dot gnu dot org, jsm at polyomino dot org dot uk
- Date: Mon, 12 Mar 2007 08:24:04 -0700
- Subject: Re: PATCH RFA: c99 inline patch for gcc 4.2
- References: <m3bqizp07s.fsf@localhost.localdomain>
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