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] |
The CALL_CANNOT_INLINE_P bit should be set on the CALL_EXPR, not the FUNCTION_DECL, which is what we have when we parse the attribute.
I'll try the DECL_UNINLINABLE thing Matz suggested.
I think the DECL_UNINLINABLE thing won't be too bad in practice. I think wrappers will normally be used with external library functions, which couldn't be inlined anyway.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |