Skip to content
Commit df64d523 authored by Shu-Chun Weng's avatar Shu-Chun Weng Committed by Fangrui Song
Browse files

More aggressively prevent a buffer from being optimized out

The volatile global variable was first introduced in e86f9654. I have
noticed the compiler still optimizing the buffer out on AArch64
presumably because the assignment is after all other observable
behaviors so it's still valid to eliminate it.
parent a21d58a0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment