Catch gcc ±Inf bugs.