http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58619
Bug ID: 58619 Summary: ICE building libstdc++-v3 on arm-none-linux-gnueabihf in gen_combined_adhoc_loc Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ramana at gcc dot gnu.org Created attachment 30954 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30954&action=edit pre-processed file from libstdc++ Currently reducing the testcase but I ran into this issue today. $> ./xgcc -B`pwd` -S -O2 -march=armv7-a -mfpu=neon -mfloat-abi=hard sstream-inst.ii 0xaf826f crash_signal /tmp/ramrad01-workarea/wa3/src/gcc/gcc/toplev.c:335 0x1024aa2 get_combined_adhoc_loc(line_maps*, unsigned int, void*) /tmp/ramrad01-workarea/wa3/src/gcc/libcpp/line-map.c:106 0xb51ed7 copy_phis_for_bb /tmp/ramrad01-workarea/wa3/src/gcc/gcc/tree-inline.c:2093 0xb51ed7 copy_cfg_body /tmp/ramrad01-workarea/wa3/src/gcc/gcc/tree-inline.c:2446 0xb51ed7 copy_body /tmp/ramrad01-workarea/wa3/src/gcc/gcc/tree-inline.c:2625 0xb53875 expand_call_inline /tmp/ramrad01-workarea/wa3/src/gcc/gcc/tree-inline.c:4234 0xb53875 gimple_expand_calls_inline /tmp/ramrad01-workarea/wa3/src/gcc/gcc/tree-inline.c:4341 0xb53875 optimize_inline_calls(tree_node*) /tmp/ramrad01-workarea/wa3/src/gcc/gcc/tree-inline.c:4496 0xf78ddb inline_transform(cgraph_node*) /tmp/ramrad01-workarea/wa3/src/gcc/gcc/ipa-inline-transform.c:436 0xa4e320 execute_one_ipa_transform_pass /tmp/ramrad01-workarea/wa3/src/gcc/gcc/passes.c:2039 0xa4e320 execute_all_ipa_transforms() /tmp/ramrad01-workarea/wa3/src/gcc/gcc/passes.c:2079 0x8038aa expand_function /tmp/ramrad01-workarea/wa3/src/gcc/gcc/cgraphunit.c:1743 0x8056e0 expand_all_functions /tmp/ramrad01-workarea/wa3/src/gcc/gcc/cgraphunit.c:1855 0x8056e0 compile() /tmp/ramrad01-workarea/wa3/src/gcc/gcc/cgraphunit.c:2192 0x805ec4 finalize_compilation_unit() /tmp/ramrad01-workarea/wa3/src/gcc/gcc/cgraphunit.c:2269 0x60df88 cp_write_global_declarations() /tmp/ramrad01-workarea/wa3/src/gcc/gcc/cp/decl2.c:4360 build a cross compiler by just doing the following $SRC/configure --target=arm-linux-gnueabihf --with-arch=armv7-a --with-float=hard --with-fpu=neon