[Bug tree-optimization/125612] [17 regression] wrong code at -O3 with "-fno-tree-dse -fno-tree-dce" on x86_64-linux-gnu since r17-1273

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jun 4 23:27:58 GMT 2026


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

--- Comment #5 from Drea Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Drea Pinski from comment #4)
> I thought there was a check already for out of bounds accesses but I can't
> find it right now.

ifcvt has that code. ref_within_array_bound . I think this is a latent bug in
cselim but Maybe not.


More information about the Gcc-bugs mailing list