[Bug tree-optimization/122225] [15/16 Regression] ICE in dom with -O1 -fprofile-use -fno-thread-jumps

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Oct 9 18:57:34 GMT 2025


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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I suspect, the fix is simple as rejecting RESULT_DECL SSA_NAMEs in
may_propagate_copy for dest. If I get some time I will test that out.

That should prevent ret_2 from being replaced with _13 in DOM.


More information about the Gcc-bugs mailing list