HomeFreeBSD

Avoid undefined behaviour in gas's rotate_left() macro for n == 0.

Description

Avoid undefined behaviour in gas's rotate_left() macro for n == 0.
Otherwise, clang can effectively remove the first iteration of the for
loops where this macro is invoked, and as a result, "cmp r0, #99" fails
to assemble.

Obtained from: joerg at netbsd
MFC after: 3 days

Details

Provenance
dimAuthored on
Parents
rS274855: Convert &in_ifaddr_lock to dual-locking model:
Branches
Unknown
Tags
Unknown

Event Timeline