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 required.cc: New. 2011-02-25 00:57:45 +00:00
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 stl_iterator.h: Add move_iterator operators overloads to make it robust to template abuses. 2010-12-08 01:23:41 +00:00
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 re PR libstdc++/48566 (libstdc++-v3 testsuite failures due to missing includes) 2011-04-12 09:05:30 +00:00
28_regex default.cc: Do not call members which require a fully established result state. 2011-03-25 22:50:47 +00:00
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 Update expected demangler output. 2010-11-18 05:24:00 -08:00
backward re PR libstdc++/49060 (use of deleted memory in __gnu_cxx::hashtable::erase) 2011-05-25 23:09:14 +00:00
config Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
data re PR libstdc++/37144 (A bug in include/ext/pb_ds/detail/pat_trie_/constructors_destructor_fn_imps.hpp) 2011-05-24 02:38:19 +00:00
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 conformance.exp: Apply check_v3_target_fileio as a gate for tests in subdirectories matching the... 2010-10-07 21:44:36 +00:00
performance re PR libstdc++/37144 (A bug in include/ext/pb_ds/detail/pat_trie_/constructors_destructor_fn_imps.hpp) 2011-05-24 02:38:19 +00:00
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