[Bug middle-end/94423] [10 Regression] ICE in replace_uses_by with -O2 -fsanitize=object-size since r10-6332
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Mar 31 12:43:38 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94423
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 48151
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48151&action=edit
gcc10-pr94423.patch
So, either we can avoid calling replace_uses_by for the lhs SSA_NAMEs used in
abnormal PHIs as this untested patch does, or perhaps could teach
replace_uses_by to allow replacing such SSA_NAMEs with gimple min invariants.
Though, not sure if that would be ok.
More information about the Gcc-bugs
mailing list