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] |
Added dg-final tests to check that functions are inlined or not. Bootstrapped and regression tested.
PR middle-end/18071 * c-objc-common.c (c_cannot_inline_tree_fn): Internal notes like DECL_INLINE should not affect -Winline. * tree-inline.c (inlinable_function_p): Likewise.
cp/ * decl.c (start_method): Don't set DECL_DECLARED_INLINE_P if -fno-default-inline.
testsuite/ * g++.dg/warn/Winline-5.C: New * g++.dg/warn/Winline-6.C: New * g++.dg/warn/Winline-7.C: New
http://gcc.gnu.org/ml/gcc-patches/2007-02/msg00637.html
Any comments?
On 07/02/07, Manuel López-Ibáñez <lopezibanez@gmail.com> wrote: > http://gcc.gnu.org/ml/gcc-patches/2007-01/msg01366.html > > Rediff, rebootstrapped and retested with revision 121678 on i686-pc-linux-gnu > > Cheers, > > Manuel. > >
Attachment:
winline.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |