This patch works around a parsing problem with g++ 4.3. The parser is
commitb3c9def6350231a8e1c80616c2430e6b71037d63
authordnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 4 Sep 2012 18:33:29 +0000 (4 18:33 +0000)
committerdnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 4 Sep 2012 18:33:29 +0000 (4 18:33 +0000)
treeab7c738ac77989266c4eb6d97a4cfac854185de7
parenteae726e9e188dae97f8baaed76a408e8f1567e85
This patch works around a parsing problem with g++ 4.3.  The parser is
failing to lookup calls to the template function reserve when called
from other member functions:

vec_t<T>::reserve<A> (...)

The parser thinks that the '<' in reserve<A> is a less-than operation.
This problem does not happen after 4.3.

This code is going to change significantly, so this won't be needed
soon.

Tested on x86_64 with g++ 4.3 and g++ 4.6.

PR bootstrap/54478
* vec.h (vec_t::alloc): Remove explicit type specification
in call to reserve.
(vec_t::copy): Likewise.
(vec_t::reserve): Likewise.
(vec_t::reserve_exact): Likewise.
(vec_t::safe_splice): Likewise.
(vec_t::safe_push): Likewise.
(vec_t::safe_grow): Likewise.
(vec_t::safe_grow_cleared): Likewise.
(vec_t::safe_insert): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190943 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/vec.h