https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64218

--- Comment #4 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Created attachment 34221
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34221&action=edit
Somewhat reduced testcase

Somewhat reduced, still over 1000 lines of code.

trippels@gcc20 boost_root % g++ -w -c -O2 -std=c++11 recursive_variant_test.ii
recursive_variant_test.ii:1450:1: internal compiler error: Segmentation fault
 }
 ^
0xcc9fef crash_signal
        ../../gcc/gcc/toplev.c:358
0x900e72 symtab_node::get_alias_target()
        ../../gcc/gcc/cgraph.h:2247
0x900e72 symtab_node::ultimate_alias_target(availability*)
        ../../gcc/gcc/symtab.c:1293
0x1314a0a cgraph_node::ultimate_alias_target(availability*)
        ../../gcc/gcc/cgraph.h:2690
0x1314a0a want_inline_function_to_all_callers_p
        ../../gcc/gcc/ipa-inline.c:840
0x1314a0a ipa_inline
        ../../gcc/gcc/ipa-inline.c:2245
0x1314a0a 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.

Reply via email to