freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2] master 0f23ae2: * src/smooth/ftgrays.c (FT_DIV_MOD): Limit t


From: Werner Lemberg
Subject: [freetype2] master 0f23ae2: * src/smooth/ftgrays.c (FT_DIV_MOD): Limit the ARM workaround.
Date: Tue, 5 Oct 2021 16:31:24 -0400 (EDT)

branch: master
commit 0f23ae2e80309d199ea6fea55691fa2d74bfed60
Author: Alexei Podtelezhnikov <apodtele@gmail.com>
Commit: Alexei Podtelezhnikov <apodtele@gmail.com>

    * src/smooth/ftgrays.c (FT_DIV_MOD): Limit the ARM workaround.
---
 src/smooth/ftgrays.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/smooth/ftgrays.c b/src/smooth/ftgrays.c
index e735f3e..5978343 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                     */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]