This is the mail archive of the gcc-cvs@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]

r123066 - in /branches/gcc-4_1-branch/gcc: Chan...


Author: ian
Date: Mon Mar 19 17:59:00 2007
New Revision: 123066

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123066
Log:
gcc/:
	* doc/extend.texi: Edit "gnu_inline" documentation.
	* doc/invoke.texi: Edit "-fgnu89-inline" documentation.
	* 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-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.
	(Inline): Mention that C99 inline will be implemented in 4.3.
	Refer to ways to get the old handling.
	* doc/cpp.texi (Common Predefined Macros): Document
	__GNUC_GNU_INLINE__ and __GNUC_STDC_INLINE__.
testsuite/:
	* gcc.dg/inline-7.c: Add -fgnu89-inline.
	* 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.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/inline-17.c
    branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/inline-18.c
    branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/inline-19.c
    branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/inline-21.c
Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/c-common.c
    branches/gcc-4_1-branch/gcc/c-cppbuiltin.c
    branches/gcc-4_1-branch/gcc/c-opts.c
    branches/gcc-4_1-branch/gcc/c.opt
    branches/gcc-4_1-branch/gcc/doc/cpp.texi
    branches/gcc-4_1-branch/gcc/doc/extend.texi
    branches/gcc-4_1-branch/gcc/doc/invoke.texi
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/inline-7.c


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