[Bug gcov-profile/83434] [GCOV] A label after a non-executed if statement is wrongly marked as not executed in gcov
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Oct 21 20:20:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83434
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Oct 21 20:19:28 2019
New Revision: 277270
URL: https://gcc.gnu.org/viewcvs?rev=277270&root=gcc&view=rev
Log:
PR c++/83434 - typeinfo for noexcept function lacks noexcept information
2019-10-21 Kamlesh Kumar <kamleshbhalui@gmail.com>
* rtti.c (get_tinfo_decl_dynamic): Do not call
TYPE_MAIN_VARIANT for function.
(get_typeid): Likewise.
* g++.dg/rtti/pr83534.C: New Test.
Reviewed-by: Jason Merrill <jason@redhat.com>
Added:
trunk/gcc/testsuite/g++.dg/rtti/pr83534.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/rtti.c
More information about the Gcc-bugs
mailing list