Use cxx_printable_name for __PRETTY_FUNCTION__ in cp_fname_init.
authorMartin Liska <mliska@suse.cz>
Mon, 2 Sep 2019 07:07:11 +0000 (09:07 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Mon, 2 Sep 2019 07:07:11 +0000 (07:07 +0000)
commitae0d3f6a593058ab9fd56a34f604852ea2dec79b
treec3b601db82ad4fda4657cb815a436a963f261361
parent9297e013293e4d332fc7c40859ea4dd9616e0d88
Use cxx_printable_name for __PRETTY_FUNCTION__ in cp_fname_init.

2019-09-02  Martin Liska  <mliska@suse.cz>

PR c++/91155
* c-common.c (fname_as_string): Use cxx_printable_name for
__PRETTY_FUNCTION__ same as was used before r265711.
2019-09-02  Martin Liska  <mliska@suse.cz>

PR c++/91155
* g++.dg/torture/pr91155.C: New test.

From-SVN: r275292
gcc/c-family/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr91155.C [new file with mode: 0644]