Workaround compiler warnings at -O1