On Mon Jul 24, 2023 at 4:58 PM UTC, Jo Van Bulck wrote: > Do not declare the enclave data buffer static to ensure it is not optimized ~~~~~~ as static /enclave data buffer/encl_buffer/ > away by the compiler, even when not used entirely by the test enclave code. "Declare encl_buffer as global, in order to ensure that it is not optimized away by the compiler." So, when exactly is it optimized away by the compiler? This is missing. BR, Jarkko