This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/82577] New: ice in compare_base_decls, at alias.c:2053
- From: "dcb314 at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 17 Oct 2017 06:39:45 +0000
- Subject: [Bug c++/82577] New: ice in compare_base_decls, at alias.c:2053
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82577
Bug ID: 82577
Summary: ice in compare_base_decls, at alias.c:2053
Product: gcc
Version: 8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
Created attachment 42383
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42383&action=edit
gzipped C++ source code
The attached C++ code, when compiled by flag -O2 on recent gcc trunk,
does this:
kernel/qregion_x11.cpp:2898:1: internal compiler error: tree check: expected
tre
e that contains ‘decl with visibility’ structure, have ‘parm_decl’ in
compare_ba
se_decls, at alias.c:2053
0x5a4a0c tree_contains_struct_check_failed(tree_node const*,
tree_node_structure
_enum, char const*, int, char const*)
../../trunk/gcc/tree.c:9253
0x917303 contains_struct_check(tree_node*, tree_node_structure_enum, char
const*
, int, char const*)
../../trunk/gcc/tree.h:3196
0x917303 compare_base_decls(tree_node*, tree_node*)
../../trunk/gcc/alias.c:2053
0xfc2829 decl_refs_may_alias_p
../../trunk/gcc/tree-ssa-alias.c:1100
I'll have a go at reducing the code and finding a range of revisions
for the bug.