The "__attribute__((always_inline))" attribute does not replace "inline", they need to be used togher. This fixes the "warning: always_inline function might not be inlinable [-Wattributes]" warnings emitted by GCC 4.7.
This commit is contained in:
parent
ecb70e2f77
commit
eeab6bd2ce
@ -36,7 +36,7 @@ typedef limb felem[5];
|
|||||||
typedef unsigned uint128_t __attribute__((mode(TI)));
|
typedef unsigned uint128_t __attribute__((mode(TI)));
|
||||||
|
|
||||||
#undef force_inline
|
#undef force_inline
|
||||||
#define force_inline __attribute__((always_inline))
|
#define force_inline inline __attribute__((always_inline))
|
||||||
|
|
||||||
/* Sum two numbers: output += in */
|
/* Sum two numbers: output += in */
|
||||||
static void force_inline
|
static void force_inline
|
||||||
|
Loading…
Reference in New Issue
Block a user