gcc/libstdc++-v3/testsuite/20_util
Jeffrey Yasskin ce77c22f1b Propagate the source location of a template's function_decl to the template_decl built out of it.
Propagate the source location of a template's function_decl to the
template_decl built out of it.  Without this, specializations
generated before the template was defined get the location of the
closing ')' instead of the location of the template's name, which can
produce inconsistent locations between translation units, which makes
gold's ODR checker unhappy.

	* gcc/cp/pt.c (build_template_decl): Copy the function_decl's source
	location to the new template_decl.
	* gcc/testsuite/g++.old-deja/g++.pt/crash60.C: Updated.
	* libstdc++-v3/testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Updated.

From-SVN: r176845
2011-07-27 18:38:48 +00:00
..
add_lvalue_reference
add_rvalue_reference
addressof
aligned_storage
allocator
allocator_traits invoke.cc: Avoid -Wall warnings. 2011-06-22 21:46:17 +00:00
auto_ptr
bad_function_call
bind socket.cc: Use variable and remove attribute. 2011-06-22 23:46:14 +01:00
common_type/requirements
conditional/requirements
decay/requirements
declval/requirements re PR c++/48969 (ICE with -std=c++0x) 2011-06-07 17:54:07 -04:00
default_delete re PR libstdc++/48631 ([C++0x] default_delete<T[]> accepts pointer conversions in function call operator) 2011-04-16 02:02:29 +00:00
duration prune.exp (libstdc++-dg-prune): Prune notes. 2011-06-09 23:56:00 -04:00
duration_cast
enable_if/requirements
enable_shared_from_this
forward prune.exp (libstdc++-dg-prune): Prune notes. 2011-06-09 23:56:00 -04:00
function prune.exp (libstdc++-dg-prune): Prune notes. 2011-06-09 23:56:00 -04:00
function_objects
has_trivial_copy_assign
has_trivial_copy_constructor
has_trivial_default_constructor
hash re PR testsuite/48675 (20_util/hash/chi2_quality.cc timeout) 2011-04-19 03:59:16 +00:00
headers
is_assignable [multiple changes] 2011-05-19 10:30:20 +00:00
is_compound [multiple changes] 2011-04-13 22:52:45 +00:00
is_constructible [multiple changes] 2011-04-13 22:52:45 +00:00
is_convertible [multiple changes] 2011-04-13 22:52:45 +00:00
is_copy_assignable [multiple changes] 2011-05-19 10:30:20 +00:00
is_copy_constructible type_traits (is_nothrow_default_constructible, [...]): Add. 2011-04-19 00:10:53 +00:00
is_default_constructible type_traits (is_nothrow_default_constructible, [...]): Add. 2011-04-19 00:10:53 +00:00
is_destructible [multiple changes] 2011-04-13 22:52:45 +00:00
is_explicitly_convertible
is_function [multiple changes] 2011-04-13 22:52:45 +00:00
is_fundamental [multiple changes] 2011-04-13 22:52:45 +00:00
is_integral
is_literal_type
is_lvalue_reference
is_member_function_pointer [multiple changes] 2011-04-13 22:52:45 +00:00
is_member_object_pointer [multiple changes] 2011-04-13 22:52:45 +00:00
is_member_pointer [multiple changes] 2011-04-13 22:52:45 +00:00
is_move_assignable [multiple changes] 2011-05-19 10:30:20 +00:00
is_move_constructible type_traits (is_nothrow_default_constructible, [...]): Add. 2011-04-19 00:10:53 +00:00
is_nothrow_assignable [multiple changes] 2011-05-19 10:30:20 +00:00
is_nothrow_constructible type_traits (is_nothrow_default_constructible, [...]): Add. 2011-04-19 00:10:53 +00:00
is_nothrow_copy_assignable [multiple changes] 2011-05-19 10:30:20 +00:00
is_nothrow_copy_constructible type_traits (is_nothrow_default_constructible, [...]): Add. 2011-04-19 00:10:53 +00:00
is_nothrow_default_constructible type_traits (is_nothrow_default_constructible, [...]): Add. 2011-04-19 00:10:53 +00:00
is_nothrow_move_assignable [multiple changes] 2011-05-19 10:30:20 +00:00
is_nothrow_move_constructible type_traits (is_nothrow_default_constructible, [...]): Add. 2011-04-19 00:10:53 +00:00
is_object [multiple changes] 2011-04-13 22:52:45 +00:00
is_pod
is_reference
is_rvalue_reference
is_scalar
is_signed
is_standard_layout
is_trivial
is_unsigned
make_signed/requirements re PR c++/48969 (ICE with -std=c++0x) 2011-06-07 17:54:07 -04:00
make_unsigned/requirements re PR c++/48969 (ICE with -std=c++0x) 2011-06-07 17:54:07 -04:00
move
move_if_noexcept move.h (move_if_noexcept): Add. 2011-04-27 18:37:32 +00:00
owner_less
pair move.h (move, forward): Mark constexpr. 2011-07-23 03:17:11 +00:00
pointer_traits invoke.cc: Avoid -Wall warnings. 2011-06-22 21:46:17 +00:00
ratio invoke.cc: Avoid -Wall warnings. 2011-06-22 21:46:17 +00:00
raw_storage_iterator/requirements
reference_wrapper invoke.cc: Avoid -Wall warnings. 2011-06-22 21:46:17 +00:00
remove_reference
scoped_allocator Makefile.am: Add new header. 2011-07-09 14:45:56 +01:00
shared_ptr pt.c (tinst_level_tick, [...]): Replace with last_error_tinst_level. 2011-07-16 22:34:22 -04:00
specialized_algorithms
steady_clock chrono: (system_clock::is_steady): Update to N3291 from is_monotonic. 2011-07-21 03:27:51 +00:00
system_clock chrono: (system_clock::is_steady): Update to N3291 from is_monotonic. 2011-07-21 03:27:51 +00:00
time_point chrono: (system_clock::is_steady): Update to N3291 from is_monotonic. 2011-07-21 03:27:51 +00:00
time_point_cast
tuple prune.exp (libstdc++-dg-prune): Prune notes. 2011-06-09 23:56:00 -04:00
typeindex
underlying_type/requirements type_traits (struct underlying_type): Add. 2011-04-25 23:04:16 +00:00
unique_ptr valarray (~valarray): Use noexcept. 2011-06-14 17:48:29 +00:00
uses_allocator tuple (__conv_types, [...]): Add. 2011-06-20 11:05:45 +00:00
weak_ptr Propagate the source location of a template's function_decl to the template_decl built out of it. 2011-07-27 18:38:48 +00:00
rel_ops.cc
temporary_buffer.cc