[c-family] Fix -fdump-ada-spec ICEs
Eric Botcazou
ebotcazou@adacore.com
Sun Mar 1 18:28:00 GMT 2015
They were introduced by the latest tree structure re-shuffling.
Tested on x86_64-suse-linux, applied on the mainline as obvious.
2015-03-01 Eric Botcazou <ebotcazou@adacore.com>
* c-ada-spec.c (is_tagged_type): Add guard for DECL_VINDEX.
(dump_template_types): Adjust DECL_TEMPLATE_INSTANTIATIONS and
DECL_TEMPLATE_RESULT emulations.
(dump_ada_template)): Add guard for TYPE_METHODS.
2015-03-01 Eric Botcazou <ebotcazou@adacore.com>
* g++.dg/other/dump-ada-spec-3.C: New test.
--
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.diff
Type: text/x-patch
Size: 1520 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150301/d0e20a6d/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dump-ada-spec-3.C
Type: text/x-c++src
Size: 385 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150301/d0e20a6d/attachment-0001.bin>
More information about the Gcc-patches
mailing list