diff options
| author | dnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-09-04 18:33:29 +0000 |
|---|---|---|
| committer | dnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-09-04 18:33:29 +0000 |
| commit | b3c9def6350231a8e1c80616c2430e6b71037d63 (patch) | |
| tree | ab7c738ac77989266c4eb6d97a4cfac854185de7 /libjava/classpath/java/io/PipedOutputStream.java | |
| parent | eae726e9e188dae97f8baaed76a408e8f1567e85 (diff) | |
| download | ppe42-gcc-b3c9def6350231a8e1c80616c2430e6b71037d63.tar.gz ppe42-gcc-b3c9def6350231a8e1c80616c2430e6b71037d63.zip | |
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
Diffstat (limited to 'libjava/classpath/java/io/PipedOutputStream.java')
0 files changed, 0 insertions, 0 deletions

