[Bug c++/88263] ICE in coverage_begin_function

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Dec 27 08:47:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88263

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Thu Dec 27 08:46:13 2018
New Revision: 267429

URL: https://gcc.gnu.org/viewcvs?rev=267429&root=gcc&view=rev
Log:
Use proper location for tls_init function (PR c++/88263).

2018-12-27  Martin Liska  <mliska@suse.cz>

        PR c++/88263
        * decl2.c (get_local_tls_init_fn): Add location_t argument and
        use it.
        (get_tls_init_fn): Call it with location of variable for which
        we'll need to create tls_init function.
        (handle_tls_init): Likewise.
2018-12-27  Martin Liska  <mliska@suse.cz>

        PR c++/88263
        * g++.dg/gcov/pr88263.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/gcov/pr88263.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl2.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list