Losing the magic
Losing the magic
Posted Dec 14, 2022 2:46 UTC (Wed) by nybble41 (subscriber, #55106)In reply to: Losing the magic by adobriyan
Parent article: Losing the magic
Even then, couldn't the compiler just set it back after the volatile write, but before the memory is freed? Seeing as how it's unobservable and all. Perhaps it decides to use that "dead" memory as scratch space for some other operation.