diff options
author | Jakub Jelinek <jakub@redhat.com> | 2019-04-19 10:24:05 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2019-04-19 10:24:05 +0200 |
commit | e7178413f46ac98975bd4b83e073c931b418205d (patch) | |
tree | f491d635b20c7ce83f8fe69a7cfcd1479503d80e /gcc/tree-outof-ssa.c | |
parent | 1ad6b2105127d761df87840f77a4fde06f1dbf9e (diff) | |
download | gcc-e7178413f46ac98975bd4b83e073c931b418205d.zip gcc-e7178413f46ac98975bd4b83e073c931b418205d.tar.gz gcc-e7178413f46ac98975bd4b83e073c931b418205d.tar.bz2 |
re PR c++/90108 (ICE: Segmentation fault (in c_tree_chain_next))
PR c++/90108
* c-decl.c (merge_decls): If remove is main variant and
DECL_ORIGINAL_TYPE is some other type, remove a DECL_ORIGINAL_TYPE
variant that has newdecl as TYPE_NAME if any.
* decl.c (duplicate_decls): If remove is main variant and
DECL_ORIGINAL_TYPE is some other type, remove a DECL_ORIGINAL_TYPE
variant that has newdecl as TYPE_NAME if any.
* c-c++-common/pr90108.c: New test.
From-SVN: r270453
Diffstat (limited to 'gcc/tree-outof-ssa.c')
0 files changed, 0 insertions, 0 deletions