* include/bits/stl_heap.h (pop_heap): Check for non-empty range in overload taking a predicate. * testsuite/25_algorithms/pop_heap/empty2_neg.cc: New. Co-Authored-By: Jonathan Wakely <jwakely.gcc@gmail.com> From-SVN: r181987