From 7e7d75c136783cb9e4270578654e02fcfcd3917f Mon Sep 17 00:00:00 2001 From: Diego Novillo <dnovillo@google.com> Date: Wed, 5 Sep 2012 12:34:42 -0400 Subject: [PATCH] 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 --- gcc/ChangeLog | 6 ++++++ gcc/vec.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8bfc5ce1b2e6..978b47d7fc7d 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 441c9b5f7911..fbf95d226820 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; -- GitLab