https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120614
--- Comment #8 from kugan at gcc dot gnu.org --- (In reply to Jan Hubicka from comment #6) > Also BTW, I think it is useful to do the dumps wth -details-blocks since > that also dumps BB count inconsistencies caused by AutoFDO that are > otherwise hard to spot. > > In ipa-cp dump it should be visible if constant propagation of stride > happened. This may be useful for vectorizaiton on aarch64. On x86-64 it is > not that important for some reason. I am seeing ICE with -fdump-ipa-all-details-blocks: during IPA pass: inline dump file: x264_src/encoder/analyse.c.091i.inline x264_src/encoder/analyse.c: In function 'x264_macroblock_cache_rect': x264_src/encoder/analyse.c:3319:13: internal compiler error: in push_function_decl, at function.cc:4738 3319 | static void x264_analyse_update_cache( x264_t *h, x264_mb_analysis_t *a ) | ^~~~~~~~~~~~~~~~~~~~~~~~~ 0x22d41ab internal_error(char const*, ...) ../../gcc/gcc/diagnostic-global-context.cc:517 0x82a73b fancy_abort(char const*, int, char const*) ../../gcc/gcc/diagnostic.cc:1803 0xc1a593 push_function_decl ../../gcc/gcc/function.cc:4738 0xc1a593 push_function_decl ../../gcc/gcc/function.cc:4736 0xf01bab execute_function_dump ../../gcc/gcc/passes.cc:1810 0xf03e4b execute_function_dump ../../gcc/gcc/passes.cc:1808 0xf03e4b emergency_dump_function() ../../gcc/gcc/passes.cc:1855 0x22b6483 diagnostic_context::report_diagnostic(diagnostic_info*) ../../gcc/gcc/diagnostic.cc:1513 0x22b697b diagnostic_context::diagnostic_impl(rich_location*, diagnostic_metadata const*, diagnostic_option_id, char const*, std::__va_list*, diagnostic_t) ../../gcc/gcc/diagnostic.cc:1695 0x22d41ab internal_error(char const*, ...) ../../gcc/gcc/diagnostic-global-context.cc:517 0x82a73b fancy_abort(char const*, int, char const*) ../../gcc/gcc/diagnostic.cc:1803 0xf463c7 profile_count::to_sreal_scale(profile_count, bool*) const ../../gcc/gcc/profile-count.cc:342 0xf4644b profile_count::dump(_IO_FILE*, function*) const ../../gcc/gcc/profile-count.cc:99 0xa3180b dump_bb_info(_IO_FILE*, basic_block_def*, int, dump_flag, bool, bool) ../../gcc/gcc/cfg.cc:812 0xa54947 dump_bb(_IO_FILE*, basic_block_def*, int, dump_flag) ../../gcc/gcc/cfghooks.cc:302 0x108fd93 dump_function_to_file(tree_node*, _IO_FILE*, dump_flag) ../../gcc/gcc/tree-cfg.cc:8504 0xa9d9f7 cgraph_node::materialize_clone() ../../gcc/gcc/cgraphclones.cc:1189 0xa8992f cgraph_node::get_untransformed_body() ../../gcc/gcc/cgraph.cc:4085 0xd649f3 maybe_materialize_called_clones ../../gcc/gcc/ipa-inline-transform.cc:738 0xd65f73 inline_transform(cgraph_node*) ../../gcc/gcc/ipa-inline-transform.cc:795 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report.