ref: 0f23ae2e80309d199ea6fea55691fa2d74bfed60
parent: a15604060010069bd16268306c0c1a1be144b771
author: Alexei Podtelezhnikov <apodtele@gmail.com>
date: Tue Oct 5 12:28:40 EDT 2021
* src/smooth/ftgrays.c (FT_DIV_MOD): Limit the ARM workaround.
--- a/src/smooth/ftgrays.c
+++ b/src/smooth/ftgrays.c
@@ -353,7 +353,7 @@
} \
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 */