diff --git a/src/smooth/ftgrays.c b/src/smooth/ftgrays.c index e735f3ed1..597834350 100644 --- a/src/smooth/ftgrays.c +++ b/src/smooth/ftgrays.c @@ -353,7 +353,7 @@ typedef ptrdiff_t FT_PtrDist; } \ FT_END_STMNT -#ifdef __arm__ +#if defined( __GNUC__ ) && __GNUC__ < 7 && defined( __arm__ ) /* Work around a bug specific to GCC which make the compiler fail to */ /* optimize a division and modulo operation on the same parameters */ /* into a single call to `__aeabi_idivmod'. See */