This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/78589] g++ prints <built-in> instead of a function name when warning in an OpenMP outlined function
- From: "jamborm at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 07 Dec 2016 13:09:40 +0000
- Subject: [Bug c++/78589] g++ prints <built-in> instead of a function name when warning in an OpenMP outlined function
- Auto-submitted: auto-generated
- References: <bug-78589-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78589
--- Comment #7 from Martin Jambor <jamborm at gcc dot gnu.org> ---
Author: jamborm
Date: Wed Dec 7 13:09:07 2016
New Revision: 243344
URL: https://gcc.gnu.org/viewcvs?rev=243344&root=gcc&view=rev
Log:
Use dump_function_name rather than emit <built-in>
2016-12-07 Martin Jambor <mjambor@suse.cz>
PR c++/78589
* error.c (dump_decl): Use dump_function_name to dump
!DECL_LANG_SPECIFIC function decls with no or self-referencing
abstract origin.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/error.c