]> sourceware.org Git - glibc.git/commit
rshift.c: Replace assert with DEBUG and abort hjl/gmp
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 22 Aug 2017 00:07:36 +0000 (17:07 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 22 Aug 2017 12:02:20 +0000 (05:02 -0700)
commit3478fe3a92a8c85fa342a38ef3bf9bcc704bea94
treeed1d4d55a46ec9cb8e5d0e1c6f4db262342505d7
parentea99fcd03875caf59ceda354ec8ed813bb5a5f79
rshift.c: Replace assert with DEBUG and abort

assert in stdlib/rshift.c should be for debug purpose only and there is
no such check in any rshift assembly implementations nor in lshift.c.
This patch replaces assert with DEBUG and abort, similar to lshift.c
so that generic GMP codes from libc.a can be linked with libc.so in
atest-exp, atest-exp2 and atest-sincos, which depend on the GMP
implementation in glibc.

* stdlib/rshift.c (mpn_rshift): Replace ssert with DEBUG and
abort.
stdlib/rshift.c
This page took 0.04053 seconds and 5 git commands to generate.