[Ada] Adjust to change in handling of local types with -g
Eric Botcazou
ebotcazou@adacore.com
Tue Jul 3 07:59:00 GMT 2012
The fix for PR c++/52637 slightly broke the handling of local types in Ada.
The attached patch restores correct generation of debug info for them.
Tested on i586-suse-linux, applied on mainline and 4.7 branch.
2012-07-03 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/utils.c (gnat_pushdecl): Set TYPE_CONTEXT for types
attached to a TYPE_DECL.
--
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.diff
Type: text/x-diff
Size: 1200 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20120703/fa9ccc12/attachment.bin>
More information about the Gcc-patches
mailing list