[Bug ipa/124128] [15/16/17 Regression] ICE in intersect, at value-range.cc:2043 since r15-6294

jamborm at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jun 5 12:55:50 GMT 2026


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

--- Comment #15 from Martin Jambor <jamborm at gcc dot gnu.org> ---
The check

  if (src_type == dst_type)

should have been

  if (operation_type == dst_type)

However after I reading Richi's comment #12 I realized it was indeed
good to move the code around a bit and proposed a fix in
https://inbox.sourceware.org/gcc-patches/ri633z1m9o8.fsf@virgil.suse.cz/T/#u


More information about the Gcc-bugs mailing list