Kyrill Tkachov <kyrylo.tkac...@arm.com> writes: > The attached patch allowed the build to proceed for me, but in stage 2 I > encountered an ICE: > > $TOP/gcc/dwarf2out.c: In function 'long unsigned int > _ZL11size_of_dieP10die_struct.isra.209(vec<dw_attr_struct, va_gc>**, long > unsigned int)': > $TOP/gcc/dwarf2out.c:7820:1: internal compiler error: in set_value_range, at > tree-vrp.c:452 > size_of_die (dw_die_ref die) > ^ > 0xa825c1 set_value_range > $TOP/gcc/tree-vrp.c:452 > 0xa8a441 extract_range_basic > $TOP/gcc/tree-vrp.c:3679 > 0xa92c13 vrp_visit_assignment_or_call > $TOP/gcc/tree-vrp.c:6725 > 0xa947eb vrp_visit_stmt > $TOP/gcc/tree-vrp.c:7538 > 0x9d4d47 simulate_stmt > $TOP/gcc/tree-ssa-propagate.c:329 > 0x9d5047 simulate_block > $TOP/gcc/tree-ssa-propagate.c:452 > 0x9d5e23 ssa_propagate(ssa_prop_result (*)(gimple_statement_base*, > edge_def**, tree_node**), ssa_prop_result (*)(gimple_statement_base*)) > $TOP/gcc/tree-ssa-propagate.c:859 > 0xa9a1e1 execute_vrp > $TOP/gcc/tree-vrp.c:9781 > 0xa9a4a3 execute > $TOP/gcc/tree-vrp.c:9872 > 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. > > > Any ideas? The compiler was configured with: --enable-languages=c,c++,fortran > --with-cpu=cortex-a15 --with-float=hard --with-mode=thumb
Please can try again with the current branch? If it still fails, could you send me the dwarf2out.ii file? Thanks, Richard