aboutsummaryrefslogtreecommitdiff
path: root/gcc/builtins.c
diff options
context:
space:
mode:
authorMatt Austern <austern@apple.com>2003-09-04 21:32:48 +0000
committerMatt Austern <austern@gcc.gnu.org>2003-09-04 21:32:48 +0000
commit47ab33b2208b4fc4a043f8e337a0cf70fa23e3eb (patch)
treeeca3e9ad4309c329d418909982ba204fe37e9b70 /gcc/builtins.c
parentbe6acd4b3a2c3a23baa80c11899a3cbb0969662b (diff)
downloadgcc-47ab33b2208b4fc4a043f8e337a0cf70fa23e3eb.zip
gcc-47ab33b2208b4fc4a043f8e337a0cf70fa23e3eb.tar.gz
gcc-47ab33b2208b4fc4a043f8e337a0cf70fa23e3eb.tar.bz2
Correct the behavior of __func__ for C++ special member functions.
* c-common.c (fname_as_string): Use lang_hooks.decl_printable_name with verbosity 0, instead of DECL_NAME, for human-readable string. * g++.dg/ext/fnname1.C: New test. (__func__ for C++.) * g++.dg/ext/fnname2.C: Likewise. * g++.dg/ext/fnname3.C: Likewise. From-SVN: r71088
Diffstat (limited to 'gcc/builtins.c')
0 files changed, 0 insertions, 0 deletions