Order of evaluation bug involving LOGEQV and VALUES in compiled code
(defun foo (a) (declare (type fixnum a)) (logeqv (values a) (setf a 1)))
After compiling,
(foo 2) ==> -1
when (logeqv 2 1) ==> -4
The VALUES call is needed for the bug to manifest.
This is in ECL 16.1.3 under Linux.
Edited by username-removed-905743