Commit Message

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 <ebotcazou@adacore.com>
* c-ada-spec.c (dump_ada_template): Bail out for template declarations
declaring something coming from another file.

Comments

> 2012-10-09 Eric Botcazou <ebotcazou@adacore.com>> > * 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.