Fix location of tls_wrapper_fn (PR gcov-profile/88263).
authorMartin Liska <mliska@suse.cz>
Mon, 14 Jan 2019 18:40:34 +0000 (19:40 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Mon, 14 Jan 2019 18:40:34 +0000 (18:40 +0000)
commit15f4e33db7e7b0c466db39eccfc693c910459368
tree511164a62cecbad486a63a2e7fadf7134a5ce473
parent97d41887192412188546fe863f9d67197997dbaa
Fix location of tls_wrapper_fn (PR gcov-profile/88263).

2019-01-14  Martin Liska  <mliska@suse.cz>

PR gcov-profile/88263
* decl2.c (get_tls_wrapper_fn): Use DECL_SOURCE_LOCATION
as location of the TLS wrapper.
2019-01-14  Martin Liska  <mliska@suse.cz>

PR gcov-profile/88263
* g++.dg/gcov/pr88263-2.C: New test.

From-SVN: r267921
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/gcov/pr88263-2.C [new file with mode: 0644]