re PR bootstrap/54484 (r190927 breaks bootstrap with clang compiler)
authorDiego Novillo <dnovillo@google.com>
Wed, 5 Sep 2012 16:34:42 +0000 (12:34 -0400)
committerDiego Novillo <dnovillo@gcc.gnu.org>
Wed, 5 Sep 2012 16:34:42 +0000 (12:34 -0400)
PR bootstrap/54484
* vec.h (vec_t::lower_bound): Fix spelling of LESSTHAN
argument.

From-SVN: r190988

gcc/ChangeLog
gcc/vec.h

index 8bfc5ce..978b47d 100644 (file)
@@ -1,3 +1,9 @@
+2012-09-05   Diego Novillo  <dnovillo@google.com>
+
+       PR bootstrap/54484
+       * vec.h (vec_t::lower_bound): Fix spelling of LESSTHAN
+       argument.
+
 2012-09-05  Jakub Jelinek  <jakub@redhat.com>
 
        PR middle-end/54486
index 441c9b5..fbf95d2 100644 (file)
--- 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;