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

2017-08-07 Thread Eric Botcazou
> 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 c-family/ * c-ada-spec.c (has_nontrivial_methods): Test for FUNCTION_DECL. (print_ada_methods): Likewise. (pr

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

2017-08-05 Thread Eric Botcazou
> It was broken by the recent removal of TYPE_METHODS. It turns out that the support for constructors/destructors also needs to be adjusted after the recent changes. Tested on x86_64-suse-linux, applied on the mainline. 2017-08-05 Eric Botcazou c-family/ * c-ada-spec.c (has_static_

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

2017-08-01 Thread Eric Botcazou
It was broken by the recent removal of TYPE_METHODS. Bootstrapped/regtested on x86_64-suse-linux, applied on the mainline. 2017-08-01 Eric Botcazou c-family/ * c-ada-spec.c (has_static_fields): Look only into fields. (dump_generic_ada_node): Small tweak. (dump_nested_