builtins.c (fold_builtin_FUNCTION): Use lang_hooks.decl_printable_name.
authorNathan Sidwell <nathan@acm.org>
Thu, 29 Jun 2017 14:00:44 +0000 (14:00 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 29 Jun 2017 14:00:44 +0000 (14:00 +0000)
commitf76b422479df586a93a0a2eaac748b59923d6e97
tree8205b4adb2b1004bef7560b116c2256cdcd06320
parentf66459c1605ab66390ad5b5c54e425f96607d9eb
builtins.c (fold_builtin_FUNCTION): Use lang_hooks.decl_printable_name.

gcc/
* builtins.c (fold_builtin_FUNCTION): Use
lang_hooks.decl_printable_name.

gcc/cp/
* g++.dg/cpp1y/builtin_FUNCTION.C: New.

From-SVN: r249784
gcc/ChangeLog
gcc/builtins.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp1y/builtin_FUNCTION.C [new file with mode: 0644]