aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@google.com>2012-09-05 12:34:42 -0400
committerDiego Novillo <dnovillo@gcc.gnu.org>2012-09-05 12:34:42 -0400
commit7e7d75c136783cb9e4270578654e02fcfcd3917f (patch)
tree751f020d2bf9fa4f3b89d31c2acf37083b6cf5c3
parent854f927236d49dc7d0588818765ad8ad709a24d3 (diff)
downloadgcc-7e7d75c136783cb9e4270578654e02fcfcd3917f.zip
gcc-7e7d75c136783cb9e4270578654e02fcfcd3917f.tar.gz
gcc-7e7d75c136783cb9e4270578654e02fcfcd3917f.tar.bz2
re PR bootstrap/54484 (r190927 breaks bootstrap with clang compiler)
PR bootstrap/54484 * vec.h (vec_t::lower_bound): Fix spelling of LESSTHAN argument. From-SVN: r190988
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/vec.h2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8bfc5ce..978b47d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
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;