aboutsummaryrefslogtreecommitdiff
path: root/libgcc/libgcov.c
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@google.com>2012-09-04 14:33:29 -0400
committerDiego Novillo <dnovillo@gcc.gnu.org>2012-09-04 14:33:29 -0400
commit326280d4224f98eb473de20cd9b438467da93905 (patch)
treeab7c738ac77989266c4eb6d97a4cfac854185de7 /libgcc/libgcov.c
parent96672a3e826a879876daf3391fbc79daede9fa82 (diff)
downloadgcc-326280d4224f98eb473de20cd9b438467da93905.zip
gcc-326280d4224f98eb473de20cd9b438467da93905.tar.gz
gcc-326280d4224f98eb473de20cd9b438467da93905.tar.bz2
This patch works around a parsing problem with g++ 4.3.
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. From-SVN: r190943
Diffstat (limited to 'libgcc/libgcov.c')
0 files changed, 0 insertions, 0 deletions