This is the mail archive of the 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: GCC 3.3 release criteria

On Tuesday, Feb 25, 2003, at 16:06 US/Pacific, Richard Henderson wrote:

On Tue, Feb 25, 2003 at 02:03:49PM -0800, Stuart Hastings wrote:
Granted the evident interest, I will dust off "-fobey-inline",
regression-test it, and offer a patch.

I'd rather not. We already have attribute(always_inline) that can force inlining, and it's not as indiscriminate as a whole-translation-unit switch.

As promised, and with the expectation it will be rejected ;-) , here is the patch.

Creates a new flag, "-fobey-inline" that makes the 'inline' keyword imperative.

Bootstrapped on Darwin/PowerPC, no regressions (C, C++, ObjC). Documentation may be weak.

2003-02-27 Stuart Hastings <stuart at apple dot com>

        * gcc/toplev.c, gcc/gcc/flags.h (flag_obey_inline): Define it.
        * gcc/toplev.c (flag_obey_inline): Set it.
        * gcc/gcc/c-objc-common.c (c_disregard_inline_limits): Check it.
        * gcc/doc/invoke.texi (-fobey-inline): Describe it.

stuart hastings
Apple Computer

Attachment: patch.obey.inline.2
Description: Binary data

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