Constraint to adaptive evolution in response to global warming