> Fixed by now taking into account ext_block in collect_all_refs and
> for_each_global_decl (and moving the declaration of ext_block up in the
> file).
>
> Tested on i686-pc-linux-gnu, OK for trunk?
Since it only affects -fdump-ada-spec, I took the liberty to backport it to the
4.6 branch, as Jak
On Fri, 6 Jan 2012, Arnaud Charlet wrote:
> 2011-01-06 Arnaud Charlet
>
> * c-decl.c (ext_block): Moved up.
> (collect_all_refs, for_each_global_decl): Take ext_block into account.
OK.
--
Joseph S. Myers
jos...@codesourcery.com
The fix for PR debug/51410 (http://gcc.gnu.org/PR51410) available at:
http://gcc.gnu.org/ml/gcc-patches/2011-12/msg00375.html
has introduced a regression in the handling of -fdump-ada-spec which
was taking the previous behavior wrt ext_block into account to
avoid generating twice the same declara