GCC 4.5+ implies malloc() and free() have no side-effects to global variables. Place a memory barrier before any evaluations of __flp or __brkval to ensure the compiler actually reads them from the respective memory locations.
Changed paths: