Re: [c-family] Small tweak to -fdump-ada-spec

2012-10-11 Thread Eric Botcazou
> 2012-10-09 Eric Botcazou > > * c-ada-spec.c (dump_ada_template): Bail out for template declarations > declaring something coming from another file. That's a small patch affecting only -fdump-ada-spec so I went ahead and installed it on the mainline. -- Eric Botcazou

[c-family] Small tweak to -fdump-ada-spec

2012-10-09 Thread Eric Botcazou
Hi, we noticed that we dump TEMPLATE_DECLs that are built for template friend declarations in the current file, which doesn't really make sense. Tested on x86_64-suse-linux, OK for the mainline? 2012-10-09 Eric Botcazou * c-ada-spec.c (dump_ada_template): Bail out for template decl