HomeFreeBSD

Remove a use of a negative array index from fxp(4).

Description

Remove a use of a negative array index from fxp(4).

This fixes a warning seen when compiling amd64 GENERIC with clang 7.
Also remove the workaround added in r337324. clang 7 and gcc 4.2
generate the same code with or without the code change.

Reviewed by: imp (previous version)
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D18603

(cherry picked from commit 0e4a3d93eefdc9730f572e8277b100eff6cf3491)

Details

Provenance
markjAuthored on Dec 19 2018, 4:54 AM
dimCommitted on Jun 22 2021, 7:35 PM
Reviewer
imp
Differential Revision
D18603: Fix compile warning in if_fxp(4).
Parents
rGd552a12be263: Export various 128 bit long double functions from libgcc_s.so.1
Branches
Unknown
Tags
Unknown