]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r274856:
authordim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 25 Nov 2014 12:58:21 +0000 (12:58 +0000)
committerdim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 25 Nov 2014 12:58:21 +0000 (12:58 +0000)
commitdce121d553ad1b2a7795d6fe0caea9a5bee2d00e
tree9326e4e109c76d1f9287a89dee6bc4c7dfe609f3
parent5c948b8fd1be0cefe1590ad04dc6e7de04619bf6
MFC r274856:

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

git-svn-id: svn://svn.freebsd.org/base/stable/10@275036 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/binutils/gas/config/tc-arm.c