diff mbox

Fix argument spelling in uninstantiated vec_t function

Message ID 20120905163635.GA7393@google.com
State New
Headers show

Commit Message

Diego Novillo Sept. 5, 2012, 4:36 p.m. UTC
Caught by Clang (which also checks uninstantiated templates).

    	PR bootstrap/54484
    	* vec.h (vec_t::lower_bound): Fix spelling of LESSTHAN
    	argument.
diff mbox

Patch

diff --git a/gcc/vec.h b/gcc/vec.h
index 441c9b5..fbf95d2 100644
--- a/gcc/vec.h
+++ b/gcc/vec.h
@@ -1075,7 +1075,7 @@  vec_t<T>::lower_bound (T obj, bool (*lessthan)(T, T)) const
 template<typename T>
 unsigned
 vec_t<T>::lower_bound (const T *ptr,
-		       bool (*lessthan_)(const T *, const T *)) const
+		       bool (*lessthan)(const T *, const T *)) const
 {
   unsigned int len = VEC_length (T, this);
   unsigned int half, middle;