https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117791
anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anlauf at gcc dot gnu.org --- Comment #7 from anlauf at gcc dot gnu.org --- Created attachment 59716 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59716&action=edit Hackish patch This patch disables the I/O optimization for array sections where an index is a function call and when we do array-bounds checking. This is very hackish and needs to be discussed.