Just turn aggressive stack coloring off at -O3.