https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83474
--- Comment #1 from Luis Machado <luis.machado at linaro dot org> --- during GIMPLE pass: aprefetch testcase.i:52:1: internal compiler error: in probability_in, at profile-count.h:1038 update_call_from_tree (gimple_stmt_iterator * si_p, tree expr) ^~~~~~~~~~~~~~~~~~~~~ 0x6e9fdf profile_count::probability_in(profile_count) const ../../gcc/gcc/profile-count.h:1038 0x6e9fdf tree_transform_and_unroll_loop(loop*, unsigned int, edge_def*, tree_niter_desc*, void (*)(loop*, void*), void*) ../../gcc/gcc/tree-ssa-loop-manip.c:1382 0xe356f8 loop_prefetch_arrays ../../gcc/gcc/tree-ssa-loop-prefetch.c:1940 0xe356f8 tree_ssa_prefetch_arrays() ../../gcc/gcc/tree-ssa-loop-prefetch.c:2006 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions.