Can I prevent the gcc optimizer from delaying memory allocation?
I have a program compiled with gcc 11.2, which allocates some RAM memory first (8 GB) on heap (using new), and later fills it with data read out in real-time from an oscilloscope. uint32_t* buffer = new uint32_t[0x80000000]; for(uint64_t i…