Skip to content
Commit fee8d86d authored by Adam Langley's avatar Adam Langley Committed by Emilia Kasper
Browse files

Add volatile qualifications to two blocks of inline asm to stop GCC from

eliminating them as dead code.

Both volatile and "memory" are used because of some concern that the compiler
may still cache values across the asm block without it, and because this was
such a painful debugging session that I wanted to ensure that it's never
repeated.

(cherry picked from commit 7753a3a6

)

Conflicts:
	crypto/bn/asm/x86_64-gcc.c

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
(cherry picked from commit a90b1e32)
parent bf3e53a7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment