Messages in this thread | | | From | Nick Desaulniers <> | Date | Thu, 7 Jun 2018 10:33:23 -0700 | Subject | Re: [PATCH v2 1/2] compiler-gcc.h: add gnu_inline to all inline declarations |
| |
On Tue, Jun 5, 2018 at 10:23 AM Joe Perches <joe@perches.com> wrote: > > On Tue, 2018-06-05 at 10:05 -0700, Nick Desaulniers wrote: > And only set once along with: > > > #define __always_inline inline __attribute__((always_inline)) > > And perhaps this __always_inline should be updated > with gnu_inline as well >
This should pick up the additional attributes from adding `inline` to the redefinition.
Attributes can be combined via:
__attribute__((a)) __attribute__((b))
or
__attribute__((a, b)) -- Thanks, ~Nick Desaulniers
| |