diff options
author | Alexei Podtelezhnikov <apodtele@gmail.com> | 2021-10-05 16:28:40 -0400 |
---|---|---|
committer | Alexei Podtelezhnikov <apodtele@gmail.com> | 2021-10-05 16:28:40 -0400 |
commit | 0f23ae2e80309d199ea6fea55691fa2d74bfed60 (patch) | |
tree | c3f9d8de28fab71d360f578bb0a138f5f1859224 /src/smooth | |
parent | a15604060010069bd16268306c0c1a1be144b771 (diff) | |
download | freetype2-0f23ae2e80309d199ea6fea55691fa2d74bfed60.tar.gz |
* src/smooth/ftgrays.c (FT_DIV_MOD): Limit the ARM workaround.
Diffstat (limited to 'src/smooth')
-rw-r--r-- | src/smooth/ftgrays.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |