gcc/libstdc++-v3/testsuite
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
..
17_intro re PR libstdc++/49745 (error: ‘int truncate’ redeclared as different kind of symbol) 2011-07-15 21:52:06 +00:00
18_support
19_diagnostics system_error: Use noexcept. 2011-07-20 18:17:30 +00:00
20_util 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
21_strings allocator.h (__shrink_to_fit): Rename to __shrink_to_fit_aux, fix. 2011-06-12 15:51:36 +00:00
22_locale re PR libstdc++/49293 (22_locale/time_get/get_weekday/char/38081-[12].cc fail with glibc 2.14) 2011-06-07 08:50:04 +00:00
23_containers array (at): Remove constexpr when -fno-exceptions. 2011-07-26 04:21:57 +00:00
24_iterators
25_algorithms re PR libstdc++/49559 ([C++0x] stable_sort calls self-move-assignment operator) 2011-07-11 18:38:54 +00:00
26_numerics tie2.cc: Fix for C++0x mode. 2011-06-23 11:32:23 +01:00
27_io
28_regex
29_atomics prune.exp (libstdc++-dg-prune): Prune notes. 2011-06-09 23:56:00 -04:00
30_threads chrono: (system_clock::is_steady): Update to N3291 from is_monotonic. 2011-07-21 03:27:51 +00:00
abi
backward re PR libstdc++/49060 (use of deleted memory in __gnu_cxx::hashtable::erase) 2011-05-25 23:09:14 +00:00
config
data
decimal prune.exp (libstdc++-dg-prune): Prune notes. 2011-06-09 23:56:00 -04:00
ext tree_no_data_map_rand.cc: Move... 2011-07-22 04:17:17 +00:00
lib prune.exp (libstdc++-dg-prune): Prune notes. 2011-06-09 23:56:00 -04:00
libstdc++-abi configure.host (abi_baseline_subdir_switch): Describe. 2011-07-08 08:49:57 +00:00
libstdc++-dg
performance
tr1 pt.c (tinst_level_tick, [...]): Replace with last_error_tinst_level. 2011-07-16 22:34:22 -04:00
util re PR libstdc++/49836 ([C++0x] vector<T>::push_back() should not require T to be (move-)assignable) 2011-07-25 17:08:48 +00:00
Makefile.am configure.host (abi_baseline_subdir_switch): Describe. 2011-07-08 08:49:57 +00:00
Makefile.in fragment.am (CONFIG_CXXFLAGS): Add -frandom-seed. 2011-07-22 13:52:51 +00:00