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: [PING] PR middle-end/18071 -Winline does not respect -fno-default-inline


On 08/02/07, Dirk Mueller <dmueller@suse.de> wrote:
On Wednesday, 7. February 2007 21:29, Manuel López-Ibáñez wrote:

> Rediff, rebootstrapped and retested with revision 121678 on
> i686-pc-linux-gnu

Hmm, shouldn't the comment in tree-inline.c above the do_warning updated to
reflect the intention of the change?


Do you mean the sentence "We only warn for functions declared `inline' by the user" ? Well, the comment is now more correct than before. Now we only warn for functions declared 'inline' by the user (DECL_DECLARED_INLINE_P) and we don't care whether the compiler thinks that this function this can be substituted where it is called (DECL_INLINE). Would you prefer this latter version?

Cheers,

Manuel.


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