win32: gcc optimize o3
Be extra careful if GetValueIn fails.