diff options
author | Diego Novillo <dnovillo@google.com> | 2012-09-04 17:07:48 -0400 |
---|---|---|
committer | Diego Novillo <dnovillo@gcc.gnu.org> | 2012-09-04 17:07:48 -0400 |
commit | bde6de5d4ba6258094a7a6fb47af74935711d3c6 (patch) | |
tree | 864e76a639738a9d7af588491843d89196e3cac7 /gcc/gcov-io.h | |
parent | afba316b4627a4ce2613af1321319c85c7cf6ebe (diff) | |
download | gcc-bde6de5d4ba6258094a7a6fb47af74935711d3c6.zip gcc-bde6de5d4ba6258094a7a6fb47af74935711d3c6.tar.gz gcc-bde6de5d4ba6258094a7a6fb47af74935711d3c6.tar.bz2 |
Fix bootstrap failure with clang++.
This patch fixes a bootstrap failure when using clang as the host
compiler. Default arguments for class template member functions
should be added in the declaration, not the definition.
From Jason:
> 8.3.6 says "Default arguments for a member function of a class template shall
> be specified on the initial declaration of the member function within the
> class template."
PR bootstrap/54484
* vec.h (vec_t::embedded_init): Move default argument value
to function declaration.
From-SVN: r190951
Diffstat (limited to 'gcc/gcov-io.h')
0 files changed, 0 insertions, 0 deletions