mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-24 22:40:51 -08:00
Fix the build on fri3gc.
Copied from Perforce Change: 186436 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
03f8b41b44
commit
545bb116cf
4 changed files with 9 additions and 4 deletions
|
|
@ -113,8 +113,8 @@ static Bool amcSegCheck(amcSeg amcseg)
|
|||
CHECKD(Nailboard, amcseg->board);
|
||||
CHECKL(SegNailed(amcSeg2Seg(amcseg)) != TraceSetEMPTY);
|
||||
}
|
||||
CHECKL(BoolCheck(amcseg->old));
|
||||
CHECKL(BoolCheck(amcseg->deferred));
|
||||
/* CHECKL(BoolCheck(amcseg->old)); <design/type/#bool.bitfield.check> */
|
||||
/* CHECKL(BoolCheck(amcseg->deferred)); <design/type/#bool.bitfield.check> */
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1325,7 +1325,7 @@ static Bool AWLCheck(AWL awl)
|
|||
CHECKS(AWL, awl);
|
||||
CHECKD(Pool, &awl->poolStruct);
|
||||
CHECKL(awl->poolStruct.class == AWLPoolClassGet());
|
||||
CHECKL(AWLGrainsSize(awl, 1) == awl->poolStruct.alignment);
|
||||
CHECKL(AWLGrainsSize(awl, (Count)1) == awl->poolStruct.alignment);
|
||||
/* Nothing to check about succAccesses. */
|
||||
CHECKL(FUNCHECK(awl->findDependent));
|
||||
/* Don't bother to check stats. */
|
||||
|
|
|
|||
|
|
@ -836,7 +836,7 @@ static Bool LOCheck(LO lo)
|
|||
CHECKD(Pool, &lo->poolStruct);
|
||||
CHECKL(lo->poolStruct.class == EnsureLOPoolClass());
|
||||
CHECKL(ShiftCheck(lo->alignShift));
|
||||
CHECKL(LOGrainsSize(lo, 1) == PoolAlignment(&lo->poolStruct));
|
||||
CHECKL(LOGrainsSize(lo, (Count)1) == PoolAlignment(&lo->poolStruct));
|
||||
CHECKD(PoolGen, &lo->pgen);
|
||||
return TRUE;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -162,6 +162,11 @@ _`.bool.bitfield.assign`: To avoid warnings about loss of data from
|
|||
GCC with the ``-Wconversion`` option, ``misc.h`` provides the
|
||||
``BOOLOF`` macro for coercing a value to an unsigned single-bit field.
|
||||
|
||||
_`.bool.bitfield.check`: A Boolean bitfield cannot have an incorrect
|
||||
value, and if you call ``BoolCheck()`` on such a bitfield then GCC 4.2
|
||||
issues the warning "comparison is always true due to limited range of
|
||||
data type". When avoiding such a warning, reference this tag.
|
||||
|
||||
|
||||
``typedef unsigned BufferMode``
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue