Restore proper operation of -fdump-ada-spec in C++

Eric Botcazou ebotcazou@adacore.com
Mon Aug 7 15:09:00 GMT 2017


> It was broken by the recent removal of TYPE_METHODS.

Hopefully last tweak...

Tested on x86_64-suse-linux, applied on the mainline.


2017-08-07  Eric Botcazou  <ebotcazou@adacore.com>

c-family/
	* c-ada-spec.c (has_nontrivial_methods): Test for FUNCTION_DECL.
	(print_ada_methods): Likewise.
	(print_ada_declaration): Likewise.

-- 
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.diff
Type: text/x-patch
Size: 1567 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20170807/c2e074ba/attachment.bin>


More information about the Gcc-patches mailing list