This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ipa/64218] New: ICE during compilation with -fno-rtti -O3
- From: "antoshkka at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 08 Dec 2014 09:13:00 +0000
- Subject: [Bug ipa/64218] New: ICE during compilation with -fno-rtti -O3
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64218
Bug ID: 64218
Summary: ICE during compilation with -fno-rtti -O3
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ipa
Assignee: unassigned at gcc dot gnu.org
Reporter: antoshkka at gmail dot com
Following error occurred during compilation of one of the Boost's tests:
../libs/variant/test/recursive_variant_test.cpp:315:1: internal compiler error:
Segmentation fault
}
^
0xc9658f crash_signal
?../../gcc/gcc/toplev.c:358
0x8d4280 symtab_node::get_alias_target()
?../../gcc/gcc/cgraph.h:2242
0x8d4280 symtab_node::ultimate_alias_target(availability*)
?../../gcc/gcc/symtab.c:1292
0x12a3b33 cgraph_node::ultimate_alias_target(availability*)
?../../gcc/gcc/cgraph.h:2684
0x12a3b33 want_inline_function_to_all_callers_p
?../../gcc/gcc/ipa-inline.c:840
0x12a3b33 ipa_inline
?../../gcc/gcc/ipa-inline.c:2245
0x12a3b33 execute
?../../gcc/gcc/ipa-inline.c:2558
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
Code was compiled with the following flags:
"g++" -ftemplate-depth-128 -fno-rtti -O3 -finline-functions -Wno-inline -Wall
-fPIC -std=c++11 -march=native -DBOOST_ALL_NO_LIB=1 -DBOOST_NO_RTTI
-DBOOST_NO_TYPEID -DNDEBUG -I".." -c -o
"/home/trippels/results/boost/bin.v2/libs/variant/test/variant_no_rtti_test.test/gcc-5.0.0/release/pch-off/rtti-off/recursive_variant_test.o"
"../libs/variant/test/recursive_variant_test.cpp"
Sources can be seen here:
https://github.com/boostorg/variant/blob/develop/test/recursive_variant_test.cpp#L315
Exactly the same test compile and pass OK if rtti is on.
P.S.: Sorry for no preprocessed and minimized code, I have no access to 5.0.0.
I'm trying to contact the test runner, but no success at this point.