Added test for output mismatch with -O0.