This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/70965] New: ice in useless_type_conversion_p
- From: "dcb314 at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 05 May 2016 18:10:11 +0000
- Subject: [Bug c++/70965] New: ice in useless_type_conversion_p
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70965
Bug ID: 70965
Summary: ice in useless_type_conversion_p
Product: gcc
Version: 7.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 38421
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38421&action=edit
gzipped C++ source code
The attached C++ code, when compiled by gcc trunk dated 20160504,
does this:
/home/dcb/rpmbuild/BUILD/libkolabxml-1.0.3/src/kolabformat.cpp:291:1: internal
compiler error: Segmentation fault
}
^
0xe5113f crash_signal
../../src/trunk/gcc/toplev.c:333
0xb510c0 useless_type_conversion_p(tree_node*, tree_node*)
../../src/trunk/gcc/gimple-expr.c:67
0xf419d0 callsite_arguments_match_p
../../src/trunk/gcc/tree-sra.c:1371
0xf419d0 some_callers_have_mismatched_arguments_p
../../src/trunk/gcc/tree-sra.c:5063
Flag -O2 required.