On 12/01/2016 09:10 AM, Martin Jambor wrote:
Hello,
On Wed, Nov 30, 2016 at 02:09:19PM +0100, Martin Jambor wrote:
On Tue, Nov 29, 2016 at 10:17:02AM -0700, Jeff Law wrote:
...
So it seems that rather than an assert that we should just not walk down a
self-referencing DECL_ABSTRACT_ORIGIN.
...
So I wonder what the options are... perhaps it seems that we can call
dump_function_name which starts with code handling
!DECL_LANG_SPECIFIC(t) cases, even instead of the weird <built-in>
thing?
The following patch does that, it works as expected on my small
testcases, brings g++ in line with what gcc does with clones when it
comes to OpenMP outline functions and obviously prevents the infinite
recursion.
It passes bootstrap and testing on x86_64-linux. OK for trunk?
Thanks,
2016-11-30 Martin Jambor <mjam...@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.
OK.
jeff